Skip to content

Commit

Permalink
Add --init to docker container to stop defunct bash processes
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Jul 3, 2024
1 parent 94ad495 commit a3bde27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2079,7 +2079,7 @@ class Build {
}
} else {
dockerImageDigest = dockerImageDigest.replaceAll("\\[", "").replaceAll("\\]", "")
String dockerRunArg="-e \"BUILDIMAGESHA=$dockerImageDigest\""
String dockerRunArg="-e \"BUILDIMAGESHA=$dockerImageDigest\" --init"

// Are we running podman in Docker CLI Emulation mode?
def isPodman = context.sh(script: "docker --version | grep podman", returnStatus:true)
Expand Down

0 comments on commit a3bde27

Please sign in to comment.