by pgib · 4y ago · 0 comments
AWS has a guide for using CodeBuild where you split the work to build each Docker image using the platform of its target, and then create a manifest at the end.
https://aws.amazon.com/blogs/devops/creating-multi-architect...
I also took a similar approach using CircleCI. A multi-arch build can take 5 minutes using parallel, native builds instead of 45+ minutes (it actually timed out).
Pros: way faster and cheaper builds if you have to pay for the compute time Cons: a much more complicated setup
I agree with the cons and pros you mentioned, but I am hoping that the qemu and buildx will continue to improve.