From 044f4ad4ea29a869b4769444384192ac912bc07a Mon Sep 17 00:00:00 2001 From: toast-gear <15716903+toast-gear@users.noreply.github.com> Date: Tue, 29 Jun 2021 00:54:59 +0100 Subject: [PATCH] chore: updating to use non-deprecated env var (#660) Fixes #659 Co-authored-by: Callum James Tait --- runner/Dockerfile | 2 +- runner/Dockerfile.dindrunner | 2 +- runner/Dockerfile.ubuntu.1804 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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