-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-architecture docker image #3542
Comments
hey, just gave a look at this issue out of curiosity. According to https://docs.docker.com/build/ci/github-actions/multi-platform/, this could be solved with just a line added here :
Not sure if that does the trick (didn't test), but I thought my little research could be useful. |
That’s probably not enough: this would copy the same binary built on GitHub onto all these images, eg they would all have the same scalafmt-linux-musl |
good point! It seems the |
I’ve generally seen (and used) multi-phase docker images: a first phase builds the binary from scratch in a docker images, while a 2nd phase copes the binary on a clean linux base image, thus discarding all intermediate files… https://github.com/denisa/clq/blob/main/build/docker/alpine/Dockerfile is an example for a simple golang app |
please provide a docker image that works natively on amd64 and arm64 architecture.
Since the release of Apple’s m1-based macs, this architecture is more common and, while possible, executing amd64 image on them is not optimal
The text was updated successfully, but these errors were encountered: