-
Notifications
You must be signed in to change notification settings - Fork 195
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
add native arm image #724
Comments
Continuation of #473 |
thanks @micossow, as I mentioned there, there's darwin aarch64 support over at https://github.com/graalvm/graalvm-ce-dev-builds/releases now, could m1 arm native elasticmq-native images be a thing with it? |
It's probably doable, but there seem to be some limitations in the sbt plugin we use: https://github.com/sbt/sbt-native-packager |
It should be possible to build such image now, see: sbt/sbt-native-packager#1503 |
I tested the image
The executable in the image is in amd64 format
Other files look for aarch64 architecture. |
Will this be fixed? or is there a quick way of building this from the repo manually? |
If you need docker image locally, you can run To be able to create native docker images as a part of GH workflow, we need either:
|
GitHub released a MacOS builder which is M1 based. |
@diegobfernandez Interesting - if we only use it for releases, it might not be that expensive (hopefully in the order of a couple of dollars) |
Hello, I updated build.sbt to use buildx supported image creation, which should create proper native images for both x64 and ARM. Please test if |
Update: |
currently, it seems like elasticmq-native runs through qemu-x86_64 on arm, could this be made into a native image? it would really benefit laptop development and battery life, since it currently takes about 10-20% cpu with a light polling client
The text was updated successfully, but these errors were encountered: