Merge "Add USER to the docker environment"

This commit is contained in:
Treehugger Robot
2018-04-13 01:16:30 +00:00
committed by Gerrit Code Review

View File

@@ -21,5 +21,6 @@ RUN groupadd -g $groupid $username \
COPY gitconfig /home/$username/.gitconfig
RUN chown $userid:$groupid /home/$username/.gitconfig
ENV HOME=/home/$username
ENV USER=$username
ENTRYPOINT chroot --userspec=$(cat /root/username):$(cat /root/username) / /bin/bash -i