diff --git a/Dockerfile b/Dockerfile index 1dd3846..4cb6997 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM jenkins/ssh-agent:6.5.0@sha256:cbd732f3553ae4ce5927dc74987aaee1e00c849ab359d716e6060e0c9cd652ff # Copy the docker binary from the official docker image -COPY --from=docker:27.3.1-cli@sha256:2a4f29ca5c9d522b4bd78131c3138b2c892fe6129548811bd3e5124a71107278 /usr/local/bin/docker /usr/local/bin/docker +COPY --from=docker:27.3.1-cli@sha256:328eb399a065780c2cebe9224de003aa14084cf69efae882ac27430f921819b7 /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)