Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Add --init to docker run options to avoid zombies.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbehrends committed Jun 7, 2020
1 parent 39f600e commit f5e376c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ node {
// Docker image to use as build/test environment
def buildenv = env.OSCAR_CI_IMAGE ?: env.OSCAR_CI_NAME ?: "oscar-ci"
def run_in_docker = { block ->
docker.image(buildenv).inside("-v ${jenkins_home}:/var/jenkins_home") {
docker.image(buildenv).inside("--init -v ${jenkins_home}:/var/jenkins_home") {
block()
}
}
Expand Down

0 comments on commit f5e376c

Please sign in to comment.