Skip to content

Commit

Permalink
Fix docker arch (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
int128 authored Jun 5, 2023
1 parent b4e774e commit 8c8baa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RUN curl -f -L -o runner-container-hooks.zip https://github.com/actions/runner-c
&& rm runner-container-hooks.zip

RUN DOCKER_ARCH=x86_64 \
&& if [ "$RUNNER_ARCH" = "arm64" ]; then DOCKER_ARCH=aarch64 ; fi \
&& if [ "$TARGETARCH" = "arm64" ]; then DOCKER_ARCH=aarch64 ; fi \
&& curl -fLo docker.tgz https://download.docker.com/linux/static/stable/${DOCKER_ARCH}/docker-${DOCKER_VERSION}.tgz \
&& tar zxvf docker.tgz \
&& rm -rf docker.tgz \
Expand Down

0 comments on commit 8c8baa1

Please sign in to comment.