carlossg / docker-maven

Official Docker image with Maven
Apache License 2.0
518 stars 424 forks source link

/usr/local/bin/mvn-entrypoint.sh: 50: exec: 1: not found #424

Closed ccjmne closed 8 months ago

ccjmne commented 8 months ago

Hi :wave:

On a fresh install, using FROM maven:3-eclipse-temurin-21, I get the following error during the final build phase:

=> exporting to image
=> => exporting layers
=> => writing image sha256:a2e52fb1715ce90078594d372f8ae38332244e41e83a212306a07ef7a5d32999
=> => naming to docker.io/library/banf
/usr/local/bin/mvn-entrypoint.sh: 50: exec: 1: not found

It looks somewhat similar to https://github.com/carlossg/docker-maven/issues/165. What am I missing?

ccjmne commented 8 months ago

I tried a few other images (i.e. OpenJDK 17 and 8) and always ran into the same error.

ccjmne commented 8 months ago

Nevermind, I believe I had something else that was going wrongly.