From 102478bdea61bb8374bd1e05e50581a05268ad38 Mon Sep 17 00:00:00 2001 From: Lorenz Brun Date: Fri, 11 Feb 2022 20:44:01 +0100 Subject: [PATCH] fix: ensure dumb-init is PID 1 (#4846) Exec to dumb-init in entrypoint script, so that it can handle signals and reap subprocesses. --- ci/release-image/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/release-image/entrypoint.sh b/ci/release-image/entrypoint.sh index 770232d7..9af98fbc 100755 --- a/ci/release-image/entrypoint.sh +++ b/ci/release-image/entrypoint.sh @@ -18,4 +18,4 @@ if [ "${DOCKER_USER-}" ]; then fi fi -dumb-init /usr/bin/code-server "$@" +exec dumb-init /usr/bin/code-server "$@"