Dockerfile
changeset 54 ef2720b6f78e
parent 47 be6d0d610f84
child 63 4bdf5784f8b2
equal deleted inserted replaced
53:11a61f120e22 54:ef2720b6f78e
    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 echo -e '#!/bin/bash\nmake -f /home/'$UNAME'/src/'$OWNDIRBASENAME'/Makefile $*' > /usr/local/bin/build
    25 RUN /bin/echo -e '#!/bin/bash\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