diff --git a/entrypoint.sh b/entrypoint.sh index 5b7f551..332e27c 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,7 +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 printf "user: $DOCKER_USER\ngroup: $DOCKER_USER\n" > /etc/fixuid/config.yml sudo chown -R "$DOCKER_USER":999 /home/coder @@ -55,7 +55,7 @@ ssh-agent bash # We do this first to ensure sudo works below when renaming the user. # Otherwise the current container UID may not exist in the passwd database. -eval "$(fixuid -q)" +# eval "$(fixuid -q)" su "$(id -un 1000)"