Hello,
TLDR; we will have multi-archs base and builder images soonish.
As you may have heard, there are more and more ARM machines out there (this email got written on one).
ARM comes with its own challenges, especially when considering containers. Traditionally, containers use Linux (AMD) 64bits. With the rise of ARM, this is changing, and we can build Linux ARM 64 bits containers.
It is currently impossible to create an ARM 64 bits container running a native Quarkus executable. The main problem is the lack of an ARM builder image that can take our application and compile it into a Linux ARM 64 bits executable. Also, our proposed base images were not supporting ARM.
To address this problem, I started investigating base and builder images for ARM 64. I have variants for almost all our images (micro, distroless, GraalVM and Mandrel builder images, s2i) for ARM 64. Because it could be hard to choose, I've also built multi-archs variants of all these images (be aware, multi-archs images are just a set of links to multiple platforms images).
These images are currently available at https://quay.io/user/cescoffi. The next step is to move these images into the Quarkus quay org and change how these images are produced (on https://github.com/quarkusio/quarkus-images). It will be a massive change, as our current way of building the images does not allow us to create multi-archs images. But the work is already done; it needs to be migrated to the repository.
By the way, it's all great, but there is a catch: ARM containers won't run on AMD machines (without an emulation layer, as proposed by Docker Desktop, for example). So, if you are in teams using different architectures, you must be aware of the problem. At the moment, I didn't investigate how to produce multi-archs image embedding Quarkus applications (at least without a manual procedure).
Clement
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAKW6fifXfxrn6oJg2_c%2Btxox0MtAO1Qww%2BduHUUZ9C5dNE8mLA%40mail.gmail.com.
MATTIA MASCIA
He / Him / His
PRINCIPAL CONSULTANT
Switzerland
M: +41 (0) 79 41 14 377 RingCentral: +41 (32) 7209255
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/c4a2e0ca-d075-4b64-97aa-ddf0b8dda7b2n%40googlegroups.com.
Where there any outcome of this meet-up?
I know Galder had to revert commits on quarkus-images dealing with multiarch so we could actually get a release out of base images.
Would be good to hear if we found a path forward for multi arch ?
/max
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAKW6fiepvY0NSnkON-rm5oUpvdmvZfT0sNDSpPCBhbBPtNPEXg%40mail.gmail.com.
/max
https://xam.dk/about
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/B670EF1C-892B-4E74-9F9A-E0F7BC46813F%40redhat.com.