Dockerfile
changeset 63 4bdf5784f8b2
parent 54 ef2720b6f78e
child 64 96b3f641f32e
equal deleted inserted replaced
62:d545546e8735 63:4bdf5784f8b2
    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\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