-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Error when I run the command "mvn spring-boot:build-image" #25619
Comments
@marciojusto Can you show the full output of the |
Follow the full output and my pom.xml. Thanks for the help! |
The relevant section from the build output is here:
The |
Do we have any workaround for this ?Still facing the same issue on apple M1 mac |
There is no workaround in Spring Boot, as the problem is not in this project. A fix or workaround will have to come from the Paketo buildpacks team, Docker Engine, or QEMU. |
You could use something else to build your docker images, though, like the excellent docker-maven-plugin from fabric8.io. Of course, this means that you are losing the features paketo provides out of the box. Here's a guide from Spring that might help you get started: https://spring.io/guides/gs/spring-boot-docker/ |
Spring Boot 2.4.3
Native Image 0.9.0
I'm using Mac Mini M1 with GraalVM 21.0.0.2.r11-grl (installed with sdkman)
Could you help me? Thanks in advance! Best Regards!
The text was updated successfully, but these errors were encountered: