From 38950abd7ed34e34e87ffd1061a2a17d303eaf7d Mon Sep 17 00:00:00 2001 From: mol Date: Sat, 24 Feb 2024 14:26:47 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 6ee7445..5b7f551 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,6 +19,7 @@ if [ "${DOCKER_USER-}" ]; then sudo usermod --login "$DOCKER_USER" "$USER_HOME" sudo groupmod -n "$DOCKER_USER" "$USER_HOME" + sudo printf "user: $DOCKER_USER\ngroup: $DOCKER_USER\n" > /etc/fixuid/config.yml sudo chown -R "$DOCKER_USER":999 /home/coder