diff --git a/runner/Dockerfile b/runner/Dockerfile index be937f41..e45eeecd 100644 --- a/runner/Dockerfile +++ b/runner/Dockerfile @@ -79,7 +79,7 @@ RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ RUN echo AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache > .env \ && mkdir /opt/hostedtoolcache \ - && chgrp runner /opt/hostedtoolcache \ + && chgrp docker /opt/hostedtoolcache \ && chmod g+rwx /opt/hostedtoolcache COPY entrypoint.sh / diff --git a/runner/dindrunner.Dockerfile b/runner/dindrunner.Dockerfile index 801acd5e..40178afa 100644 --- a/runner/dindrunner.Dockerfile +++ b/runner/dindrunner.Dockerfile @@ -88,7 +88,7 @@ RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ RUN echo AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache > /runner.env \ && mkdir /opt/hostedtoolcache \ - && chgrp runner /opt/hostedtoolcache \ + && chgrp docker /opt/hostedtoolcache \ && chmod g+rwx /opt/hostedtoolcache COPY modprobe startup.sh /usr/local/bin/