move /home/$USERNAME to always be /home/user
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-04-11 12:59:14 -07:00
parent a53143c0d0
commit 4127d1d8b1
5 changed files with 1 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ RUN \
apt -y upgrade && \
apt -y install $SYSTEM_PACKAGES && \
groupadd -g $GID_TO_ADD $USERNAME_TO_ADD && \
useradd -u $UID_TO_ADD -g $GID_TO_ADD -s /bin/bash $USERNAME_TO_ADD && \
useradd -u $UID_TO_ADD -g $GID_TO_ADD --home-dir /home/user -s /bin/bash $USERNAME_TO_ADD && \
usermod -p '*' $USERNAME_TO_ADD && \
echo $USERNAME_TO_ADD > /etc/workuser && \
go get -v -u github.com/peterbourgon/runsvinit && \