Skip to content
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

Multi-arch Mandrel image for Quarkus native build #12

Merged
merged 2 commits into from
Feb 26, 2022
Merged

Conversation

solsson
Copy link
Contributor

@solsson solsson commented Feb 19, 2022

Prior work:

We happen to be using Java 11 + Mandrel 22.0.0.2 on Ubuntu, so I found it easier to get the vanilla Mandrel distribution than to fork any of those. The https://github.com/quarkusio/quarkus-images Quarkus images use build infra that's very far from ours.

Emulation as in https://github.com/qiot-project/qiot-ubi-multiarch-builder is interesting, but given our current 10-15 minutes build time on the host's native platform I think the way forward is to use both amd64 and arm64 build nodes.

solsson added a commit to Yolean/kafka-hook that referenced this pull request Feb 19, 2022
@solsson
Copy link
Contributor Author

solsson commented Feb 19, 2022

On a small application like kafka-hook I get 90s build time for the native-image step on M1 Pro which is similar to what I get on a desktop Linux amd64.

@solsson solsson merged commit 74ddffa into main Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant