Issue in Building a Docker Image with Maven

Viewed 30

I m trying to build docker image for springboot project using below command ,

./mvnw spring-boot:build-image -Dspring-boot.build-image.imageName=myorg/myapp

error ,

[INFO]  > Using build cache volume 'pack-cache-152f93393a7f.build'
[INFO] 
[INFO]  > Running creator
[INFO]     [creator]     Previous image with name "myorg/myapp:latest" not found
[INFO]     [creator]     ===> DETECTING
[INFO]     [creator]     qemu: uncaught target signal 11 (Segmentation fault) - core dumped  

My machine details are:

macOsBigSur
Version - 11.2.2
Chip - Apple M1
RAM - 16 GB

Any suggestions ?

0 Answers
Related