spring-attic / spring-native

Spring Native is now superseded by Spring Boot 3 official native support
https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html
Apache License 2.0
2.74k stars 356 forks source link

springci/spring-native:java11-0.12.x docker image doesn't run on new Mac M1 #1727

Closed bittsi-app closed 1 year ago

bittsi-app commented 1 year ago

Hi,

I need to build a Spring Cloud Function with AWS Custom Runtime project on M1 Mac using springci/spring-native:java11-0.12.x docker image as you mentioned in the [README.md], but the spring-native:java11-0.12.x docker image does not run on my M1 Mac. Any suggestion on how can I resolve it?

Thank you!

sdeleuze commented 1 year ago

I am not on Mac, but looks like a general problem of running x86 Docker image on M1 which I guess is widely documented like here. https://www.graalvm.org/22.0/docs/getting-started/container-images/ can maybe help as well.