-
Notifications
You must be signed in to change notification settings - Fork 217
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
Hermes docker image should support Apple Silicon #1398
Comments
Hermes images should work via emulation but I will work on including arm builds in the build process |
Well, I am not sure if the emulation works correctly in this case. When I was testing it a year ago, I had problems trying to make it work 🙂 |
I have tested recently that the emulation works. As for dedicated aarch64 images: hermes images use alpine with adoptopenjdk and the support for alpine/aarch64 in adoptium is not ready yet: adoptium/containers#158 We will monitor this issue and provide aarch64 builds once base images are ready 🙂 |
As a macbook M1 user I would like to be able to start hermes as a docker container.
When I try to do this I encounter an error, here is a log:
To fix this, we should publish hermes docker image that is compatible with M1 architecture.
To do so, we should change Dockerfiles used to build hermes images. Those Dockerfiles should use images (build and runtime) that support M1 architecture (linux/arm64/v8). I'm pretty sure there are Java based images available in the Docker Hub that support not only amd64 architecture, but also arm64.
At the end, we should publish both amd64 and arm64/v8 images to docker hub. To build those images, we can use this plugin docker/buildx.
What do you think about this? :)
The text was updated successfully, but these errors were encountered: