Skip to content

Commit 836d2fd

Browse files
authored
Update Dockerfile.slim
Signed-off-by: DerSkythe <[email protected]>
1 parent 6b0d928 commit 836d2fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile.slim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ ARG GH_RUNNER_VERSION="2.303.0"
66
ARG RUNNER_DIR="/actions-runner"
77
ENV RUNNER_DIR=${RUNNER_DIR}
88
ARG CACHE_HOSTED_TOOLS_DIRECTORY="${RUNNER_DIR}/hostedtoolcache"
9-
ENV CACHE_HOSTED_TOOLS_DIRECTORY=${CACHE_HOSTED_TOOLS_DIRECTORY}
109
ARG CHOWN_USER="runner"
1110
ARG TARGETARCH
1211

1312
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1413

15-
ENV NUGET_PACKAGES=${CACHE_HOSTED_TOOLS_DIRECTORY}/nuget-packages
14+
ENV NUGET_PACKAGES=${CACHE_HOSTED_TOOLS_DIRECTORY}/nuget-packages \
15+
CACHE_HOSTED_TOOLS_DIRECTORY=${CACHE_HOSTED_TOOLS_DIRECTORY}
16+
1617
WORKDIR ${RUNNER_DIR}
1718
COPY *.sh .
1819
RUN mkdir -p ${NUGET_PACKAGES} /_work \
@@ -24,4 +25,4 @@ RUN mkdir -p ${NUGET_PACKAGES} /_work \
2425

2526
ENTRYPOINT ["./entrypoint.sh"]
2627
CMD ["./bin/Runner.Listener", "run", "--startuptype", "service"]
27-
#
28+
#

0 commit comments

Comments
 (0)