Dockerfile
changeset 64 96b3f641f32e
parent 63 4bdf5784f8b2
child 65 a5970360c00b
equal deleted inserted replaced
63:4bdf5784f8b2 64:96b3f641f32e
    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