Open Darkbladecr opened 5 months ago
@Darkbladecr It's been on our backlog to introduce official ARM64 images with Docker buildx multi-arch container images. If you've got time it would be great to have the contribution. We store our Dockerfiles in this folder in the codebase:
The binaries work fine when running the build scripts locally and the public releases. The only thing missing is to push the builds to docker. That’s why I was saying I don’t see any code in the repo that does this? It may be a CI pipeline that is not included in the repo?
I have personally used docker buildx which is really easy to build multiple arch builds
otherwise since you have the pipeline already prepared with the standard docker build command we can just amend the manifest file to link to the multiple builds with one docker URI: https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
Created a PR that updates the Dockerfile and created a script for multiarch builds for stable versions and prebuild:
Tested on my darwin/arm64
system, but will work on linux/arm64
as well. If the CI environment is based on linux/amd64
then the CC and CCX
environmental variables will need to be updated
As per issue #1138 there is actually no docker image for arm64/v8
Now developers can build a local image and use it for development, but as @zyro mentioned:
Happy to put together a PR for the
docker buildx
commands but I don't actually see thedocker push
in the source code?