You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, we get a file whose contents are Not found.
Docker does not actually release an ARM binary for Docker Compose. It seems to be a long standing problem with a lot of upvotes, and yet still no resolution:
The workaround that I am using on my host (where I have deployed the GitHub Actions runner) is the linuxserver image which does support ARM and is accessed via a run.sh shim:
This is working for me outside of the GitHub Actions runner, with one caveat. Environment variables from the shell are no longer automatically passed through to the compose container. Only special variables like COMPOSE_FILE and COMPOSE_PROJECT_NAME are automatically handled. For everything else, I have to set COMPOSE_OPTIONS='-e FOO -e BAR -e BAZ' to pass these through.
This is still a much better solution than the current completely broken docker-compose binary. I can probably just build my own runner image that has the run.sh shim installed as /usr/local/bin/docker-compose, but it'd be great to see it in the official image.
The text was updated successfully, but these errors were encountered:
This line, which tries to install
docker-compose
using the Docker recommended process, fails on ARM:https://github.com/myoung34/docker-github-actions-runner/blob/master/Dockerfile.base#L57
Instead, we get a file whose contents are
Not found
.Docker does not actually release an ARM binary for Docker Compose. It seems to be a long standing problem with a lot of upvotes, and yet still no resolution:
docker/compose#6831
The workaround that I am using on my host (where I have deployed the GitHub Actions runner) is the linuxserver image which does support ARM and is accessed via a
run.sh
shim:https://hub.docker.com/r/linuxserver/docker-compose
This is working for me outside of the GitHub Actions runner, with one caveat. Environment variables from the shell are no longer automatically passed through to the compose container. Only special variables like
COMPOSE_FILE
andCOMPOSE_PROJECT_NAME
are automatically handled. For everything else, I have to setCOMPOSE_OPTIONS='-e FOO -e BAR -e BAZ'
to pass these through.This is still a much better solution than the current completely broken
docker-compose
binary. I can probably just build my own runner image that has therun.sh
shim installed as/usr/local/bin/docker-compose
, but it'd be great to see it in the official image.The text was updated successfully, but these errors were encountered: