From abc24ea08355521b8fbd13196d17f57367e306a4 Mon Sep 17 00:00:00 2001 From: mol Date: Sat, 24 Feb 2024 09:26:55 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20entrypoint.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index ec061ec..dd0a457 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -43,7 +43,7 @@ if [ "${DOCKER_USER-}" ]; then echo "$DOCKER_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null # Unfortunately we cannot change $HOME as we cannot move any bind mounts # nor can we bind mount $HOME into a new home as that requires a privileged container. - sudo useradd -d /home/coder coder + #sudo useradd -d /home/coder coder sudo usermod --login "$DOCKER_USER" coder sudo groupmod -n "$DOCKER_USER" coder