-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create multi arch images #310
Comments
FYI, keep an eye on the resolution of quarkusio/quarkus-images#83 for an example on how to do multiarch images with cekit. It's still WIP |
@galderz , thank-you. It seems that we have a similar approach, we do a dry-run then do a docker buildx: https://github.com/wildfly/wildfly-s2i/blob/main/.github/workflows/v2-push.yml#L120 One issue is that squash doesn't actually squash the image. |
Reducing image size is not a priority for me. @cescoffier might have a different opinion though. |
One thing at a time. The size will be important, but it's not a priority for us (Quarkus images) at the moment. We are looking at different approaches to reduce the size, including trying to see how we can use smaller base images (ubi-micro instead of -minimal). |
Another approach would be to use cekit to generate the Dockerfile and https://github.com/redhat-actions/buildah-build/blob/main/.github/workflows/multiarch.yml is an example of a multiarch image with buildah |
It has been observed on arm platform (Mac), bad performances when using linux/amd64 images.
Although cekit support --platform we are running into some issues:
The current solution would be to:
We can release today single arch amd64 images and, in the future, when the best solution is found, push to the same image name multi arch images. Quay.io supports it.
The text was updated successfully, but these errors were encountered: