diff --git a/runner/Dockerfile b/runner/Dockerfile index ec4da526..8b9aa1a0 100644 --- a/runner/Dockerfile +++ b/runner/Dockerfile @@ -84,7 +84,7 @@ RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ && apt-get install -y libyaml-dev \ && rm -rf /var/lib/apt/lists/* -ENV AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache +ENV RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUN mkdir /opt/hostedtoolcache \ && chgrp docker /opt/hostedtoolcache \ && chmod g+rwx /opt/hostedtoolcache diff --git a/runner/Dockerfile.dindrunner b/runner/Dockerfile.dindrunner index 25cac49c..abdf19a6 100644 --- a/runner/Dockerfile.dindrunner +++ b/runner/Dockerfile.dindrunner @@ -92,7 +92,7 @@ RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ && apt-get install -y libyaml-dev \ && rm -rf /var/lib/apt/lists/* -ENV AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache +ENV RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUN mkdir /opt/hostedtoolcache \ && chgrp docker /opt/hostedtoolcache \ && chmod g+rwx /opt/hostedtoolcache diff --git a/runner/Dockerfile.ubuntu.1804 b/runner/Dockerfile.ubuntu.1804 index 0e206806..ade028b1 100644 --- a/runner/Dockerfile.ubuntu.1804 +++ b/runner/Dockerfile.ubuntu.1804 @@ -84,7 +84,7 @@ RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ && apt-get install -y libyaml-dev \ && rm -rf /var/lib/apt/lists/* -ENV AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache +ENV RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUN mkdir /opt/hostedtoolcache \ && chgrp docker /opt/hostedtoolcache \ && chmod g+rwx /opt/hostedtoolcache