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 \