Since 2 days I am trying to build a docker image using maven wrapper command :
./mvnw spring-boot:build-image “-Dspring-boot.build-image.imageName=/”
Can’t I use this command now? Isn’t it available?
The o/p is :
…
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:50 min
[INFO] Finished at: 2024-10-26T13:24:43+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.3.3:build-image (default-cli) on project Jobs: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:3.3.3:build-image failed: Builder lifecycle ‘creator’ failed with status code 51 → [Help 1]