Dockerfile
changeset 66 b90bcdaaba0e
parent 65 a5970360c00b
child 67 d06ee9c3f780
equal deleted inserted replaced
65:a5970360c00b 66:b90bcdaaba0e
    20 RUN useradd -m -u $UID -g $GID -s /bin/bash $UNAME
    20 RUN useradd -m -u $UID -g $GID -s /bin/bash $UNAME
    21 
    21 
    22 # easy to remember 'build' alias to invoke main makefile
    22 # easy to remember 'build' alias to invoke main makefile
    23 ARG OWNDIRBASENAME=beremiz_public_dist
    23 ARG OWNDIRBASENAME=beremiz_public_dist
    24 ENV OWNDIRBASENAME ${OWNDIRBASENAME}
    24 ENV OWNDIRBASENAME ${OWNDIRBASENAME}
    25 RUN /bin/echo -e '#!/bin/bash\necho XXXX $$*\nmake -f /home/'$UNAME'/src/'$OWNDIRBASENAME'/Makefile $$*' > /usr/local/bin/build
    25 RUN /bin/echo -e '#!/bin/bash\necho XXXX $*\nmake -f /home/'$UNAME'/src/'$OWNDIRBASENAME'/Makefile $*' > /usr/local/bin/build
    26 RUN chmod +x /usr/local/bin/build
    26 RUN chmod +x /usr/local/bin/build
    27 
    27 
    28 USER $UNAME
    28 USER $UNAME
    29 
    29 
    30 RUN mkdir /home/$UNAME/build /home/$UNAME/src
    30 RUN mkdir /home/$UNAME/build /home/$UNAME/src