docker-alpine-abuild
docker-alpine-abuild copied to clipboard
arm64 builds ?
hello, and thank you for this small handy project.
Do you think it would be possible to build also arm64 images ?
Do you know if Docker Hub can build multi-arch images, yet? If so, that would probably be the easiest for me to set up. Otherwise, I'm not sure what is involved for building other architectures. If someone could do some research on how I could go about it I could set it up to publish arm64 images.
I think you can do it easily : As far as I understand, it involves firing a github runner for arm64, and then push the correct manifest on dockerhub.
basically in the manifest you speficy the architecture of the image, and when pulling, dockerhub is able to serve the correct architecture.
I think this article explain things quite clearly. https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
I'm not a big expert of the github CI. For another project I work on gitlab the procedure is quite easy.
That is helpful. I didn't realize they could be built locally with buildx ad then pushed. I'll look into it in the coming weeks.
I have an a fork that tracks this repo, with automated CI/CD pipelines building multi-arch images for amd64 and arm64 on any new commits or tags.
I have published the images on DockerHub here: https://hub.docker.com/r/ikaruswill/alpine-abuild
The pipelines run on a hybrid amd64/arm64 cluster on the respective architectures, so I'm afraid I can't chime in on buildx. Nonetheless, I thought the multi-arch image might be useful for people passing by.
I think these images also have multi-arch support https://hub.docker.com/r/alpinelinux/docker-abuild . Thank you for pointers !
I think these images also have multi-arch support https://hub.docker.com/r/alpinelinux/docker-abuild . Thank you for pointers !
@abate it looks like there is no abuilder -r in this image:
#17 [imagickbuilder 6/6] RUN abuilder -r
#17 sha256:1bed688497132815d94b0cf4a1a91345e16f1515cb7a0f2482ae773293324448
#17 0.896 /bin/sh: abuilder: not found
#17 ERROR: executor failed running [/bin/sh -c abuilder -r]: exit code: 127
Any ideas on how to run the arm64 version of abuilder ? I'm aiming to build imagemagick aarch64 version from the docker, but there is no arm64 compatible abuilder, wondering how I can build this aarch64 version of imagemagick: https://alpine.pkgs.org/3.12/alpine-community-aarch64/imagemagick-7.0.10.48-r0.apk.html