Multi-arch docker images
surskitt opened this issue · 6 comments
Is your feature request related to a problem? Please describe.
I am unable to use the standard docker hub image on a raspberr pi cluster.
Describe the solution you'd like
I'm not sure if travis supports it, but buildx can be used to build multi-arch images than can then be pushed to docker hub.
Describe alternatives you've considered
I have forked the repo and added my own github action to buidl the multi arch image. It would be nice to have the official image support this though.
This is a good call. We are using Travis for building the docker images, so adding the support for this should be as straighforward as it was in this PR https://github.com/bloomberg/powerfulseal/pull/289/files
@shanedabes would you like to contribute a PR with that? Thanks for the issue!
It looks like that PR is created separate images for amd64 and arch, there's a little bit more involved in creating actual multi arch images. I'll look up what's involved in doing that with travis and submit a PR then.
I'd like to pick this up and make a PR for multi-arch build but I had two questions.
- I need this for arm64 & amd64. Are there any other architectures or OS that you'd like me to add at the same time?
- I was basically thinking of following Multi-arch build, what about Travis? from Docker's blog to do this, is that acceptable to you?
I think that arm64 and amd64 is all that we need right now.
That said, I've been meaning to move off of Travis onto Github actions. I'll hopefully get to that in the next week or so, so perhaps hold off until then.
Thanks for volunteering for that @mtougeron - much appreciated! 👍
Awesome, thanks. Doing it with GH actions is even easier! :)