diff --git a/Dockerfile b/Dockerfile index 47204b5..d3a9e3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM jenkins/ssh-agent:6.11.2@sha256:01f35d34a856b5ad914f5d18623074399c784e346357fb27dfa17d428c000524 # Copy the docker binary from the official docker image -COPY --from=docker:28.0.4-cli@sha256:c5e0b27a15f49b571f968defe19cc9a072d531ee90300ba5a1d2ea4dffa760e4 /usr/local/bin/docker /usr/local/bin/docker +COPY --from=docker:28.0.4-cli@sha256:2bccc79fc5fed23d876bf244fa5fbe78c54bf6b6145a9483604306fd797237d5 /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)