This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
Docker image not compatible with Jenkins #136
Labels
help wanted
The maintainers would appreciate help from the community in resolving these issues.
Docker image not compatible with Jenkins
Description
When trying to run the image as a jenkins build envirornment I get the following result:
Steps to Reproduce
Jenkins pipeline declared as:
Version
latest
imageAdditional Information
The suggested approach of using
docker run
requires mounting the current volume (-v $PWD:/target
). Due to particulars of the Jenkins setup, the volume mounting doesn't work.JENKINS-33149: Images that specify an entrypoint can not be used as a build environment
JENKINS-51307: Declarative pipeline and docker entrypoint
Possible Solution
The link on the error message (and some comments on the tickets linked above) suggests using a script as entrypoint so that non arguments can be run as is.
The text was updated successfully, but these errors were encountered: