Is this image only for local builds?
When running in Gitlab CI I get this error
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/). Please verify you invoked Maven from the correct directory. -> [Help 1]
It can't find the project that was checked out.
Other images work fine.
I think because of ENTRYPOINT the directory is set to / somehow.