diff --git a/Dockerfile b/Dockerfile index a8b3914..4cc276f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM jenkins/ssh-agent:5.20.0@sha256:0ce9798ae38a0b15ba9659795c761e7c9062c01a0bd88a3aa462ad5e54371b2e # Copy the docker binary from the official docker image -COPY --from=docker:24.0.7-cli@sha256:43651800218f833f6d09f586df8b174866a31b38e905ef1721658243cbe460a5 /usr/local/bin/docker /usr/local/bin/docker +COPY --from=docker:24.0.7-cli@sha256:d248a314fbe5fb022ea6541f4e0af3fc5cb44c2f10917b66075b2b180ac21b9b /usr/local/bin/docker /usr/local/bin/docker # Allow jenkins user to run docker as root due to socket mount permissions RUN chmod -v a+s $(which docker)