graalvm / container

GraalVM container images
Other
166 stars 37 forks source link

GraalVM CE docker image should support M1 #18

Closed FieryCod closed 2 years ago

FieryCod commented 3 years ago

Currently ghcr.io/graalvm/graalvm-ce:ol8-java8-21.1.0 outputs a warning that the underlying architecture is not aarch64. Although native-image works it's very slow on M1. I don't yet know how M1 could officially be supported. For now I will leave this issue for further consideration.

StefanLobbenmeier commented 3 years ago

Can you run docker image inspect ghcr.io/graalvm/graalvm-ce:ol8-java8-21.1.0 | grep Arch

Because from looking at this: https://github.com/graalvm/container/pkgs/container/graalvm-ce/2598796?tag=ol8-java11-21.1.0 it looks like there is an image for arm64 architecture as well

ezzarghili commented 2 years ago

There is no support for aarch64 for JDK8, you can use jdk11+ variants, they are all multi arch and support aarch64 too.