Dockerfile
changeset 67 d06ee9c3f780
parent 66 b90bcdaaba0e
child 120 02e37d9e96a9
equal deleted inserted replaced
66:b90bcdaaba0e 67:d06ee9c3f780
    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\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