fix: ensure dumb-init is PID 1 (#4846)

Exec to dumb-init in entrypoint script, so that it can
handle signals and reap subprocesses.
This commit is contained in:
Lorenz Brun 2022-02-11 20:44:01 +01:00 committed by GitHub
parent 03c62242ee
commit 102478bdea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,4 +18,4 @@ if [ "${DOCKER_USER-}" ]; then
fi fi
fi fi
dumb-init /usr/bin/code-server "$@" exec dumb-init /usr/bin/code-server "$@"