This commit is contained in:
@ -57,7 +57,7 @@ ssh-agent bash
|
||||
# Otherwise the current container UID may not exist in the passwd database.
|
||||
# eval "$(fixuid -q)"
|
||||
|
||||
su "$(id -un 1000)"
|
||||
|
||||
|
||||
# Allow users to have scripts run on container startup to prepare workspace.
|
||||
# https://github.com/coder/code-server/issues/5177
|
||||
@ -65,4 +65,4 @@ if [ -d "${ENTRYPOINTD}" ]; then
|
||||
find "${ENTRYPOINTD}" -type f -executable -print -exec {} \;
|
||||
fi
|
||||
|
||||
exec dumb-init /usr/bin/code-server "$@"
|
||||
su "$(id -un 1000)" -c 'exec dumb-init /usr/bin/code-server "$@"'
|
||||
|
Reference in New Issue
Block a user