-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
Steps:
1. Create an image that specifies an entrypoint in the Dockerfile, e.g.:
ENTRYPOINT [ "/usr/share/maven/bin/mvn" ]
2. Create a build job that uses the image as a Build Environment
When the environment is started docker run passes "cat" as a command but does not override the entry point. The result is that "/usr/share/maven/bin/mvn cat" is invoked in the container which typically fails causing the whole build to fail with an unexpected error.
There is no configuration option to specify the entrypoint for the Build Environment.