Hello Robert,

I would suggest using GItHub Actions, there you can use the official suite
of docker actions to build multiplatform images with little need for custom
scripting [1].
Feel free to ping me in the ASF slack.

Best
Jacob

[1]: https://github.com/docker/build-push-action

On Tue, Dec 6, 2022 at 1:43 PM Robert Munteanu <romb...@apache.org> wrote:

> Hi,
>
> We had a user report that our official Docker image does not support
> architectures other than AMD64 [1]. M1 Macs and Raspberry Pis can't run
> the image with our current setup.
>
> On our side, we set up automated builds on Docker Hub using automated
> builds. Unforunately, Docker Hub autobuilds don't support `docker
> buildx` or another form of multi-arch builds. It is not the roadmap
> though [2], but here is no guarantee on when (or if) it will become
> available.
>
> I see two alternatives so far:
>
> 1. Moving to GitHub actions
> 2. Use hooks to install qemu and 'fake' a multi-arch build on Docker
> Hub
>
> To be honest, none is too appealing to me, we have a simple process
> that works.
>
> How are other projects handling this? Or does anyone have any ideas
> that they can share?
>
> Thanks,
> Robert
>
> [1]: https://issues.apache.org/jira/browse/SLING-11714
> [2]: https://github.com/docker/roadmap/issues/109
>

Reply via email to