We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5707df2 commit 82a5c83Copy full SHA for 82a5c83
1 file changed
docker/docker-init.sh
@@ -76,6 +76,10 @@ if ! id -u "$USER" &> /dev/null; then
76
useradd -s /bin/bash --groups staff,sudo --uid $UID --gid $GID $USER
77
echo "$USER:$USER" | chpasswd
78
fi
79
+if ! grep -q ":$GID:$" /etc/group ; then
80
+ echo "Creating group entry for GID '$GID' ..."
81
+ groupadd -g $GID users
82
+fi
83
84
VIRTDIR="/opt/home/$USER/$TAG"
85
echo "Checking that there's a virtual environment for $TAG ..."
0 commit comments