From 98b17dc0a5093d6ab4b5cfca324223816e89fa6d Mon Sep 17 00:00:00 2001 From: "k.bigwheel (kazufumi nishida)" Date: Tue, 12 Jul 2022 09:11:04 +0900 Subject: [PATCH] Fix the dind image to work with the latest entrypoint.sh (#1624) Fixes #1621 --- runner/actions-runner-dind.dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runner/actions-runner-dind.dockerfile b/runner/actions-runner-dind.dockerfile index 2d53f7bb..2a192c12 100644 --- a/runner/actions-runner-dind.dockerfile +++ b/runner/actions-runner-dind.dockerfile @@ -99,10 +99,12 @@ RUN mkdir /opt/hostedtoolcache \ # We place the scripts in `/usr/bin` so that users who extend this image can # override them with scripts of the same name placed in `/usr/local/bin`. COPY entrypoint.sh logger.bash startup.sh update-status /usr/bin/ -COPY hooks /etc/arc/hooks/ COPY supervisor/ /etc/supervisor/conf.d/ RUN chmod +x /usr/bin/startup.sh /usr/bin/entrypoint.sh +# Configure hooks folder structure. +COPY hooks /etc/arc/hooks/ + # arch command on OS X reports "i386" for Intel CPUs regardless of bitness RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ && if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \