ContainerImages/jenkins-base/pipeline/head This commit looks good
Details
Using `python` as PID 1 like this doesn't actually work because PID 1 doesn't have any default signal handlers. Thus, when the container runtime tries to stop the container by sending SIGTERM to the main process, nothing happens and it eventually has to send SIGKILL to stop it. By using a "real" init process as PID 1, we can be sure that signal handlers are set up correctly, plus, we won't leave a bunch of zombie processes while the container is running. |
||
---|---|---|
Containerfile | ||
Jenkinsfile | ||
dch-root-ca.crt |