Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5aac6513 authored by Dan Willemsen's avatar Dan Willemsen Committed by android-build-merger
Browse files

Merge "Add USER to the docker environment"

am: e3bb8e10

Change-Id: I0008447de4d8c251371cce4c234eb052ac9a5666
parents 4157c834 e3bb8e10
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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