-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
Docker 1.12 running on CentOS7
Jenkins 2.5
Docker-Pipeline 1.11
When using the centos:7 or centos:6 containers as base images during builds any sh commands do not seem to run. Other containers like ubunut:14.04 work fine.
Example of output:
[Pipeline] stage [Pipeline] { (build) [Pipeline] node Running on master in /var/lib/jenkins/workspace/test [Pipeline] { [Pipeline] sh [test] Running shell script + docker inspect -f . centos:7 . [Pipeline] withDockerContainer Jenkins does not seem to be running inside a container $ docker run -t -d -u 996:994 -w /var/lib/jenkins/workspace/test -v /var/lib/jenkins/workspace/test:/var/lib/jenkins/workspace/test:rw -v /var/lib/jenkins/workspace/test@tmp:/var/lib/jenkins/workspace/test@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** --entrypoint cat centos:7 [Pipeline] { [Pipeline] sh [test] Running shell script [Pipeline] sh [test] Running shell script [Pipeline] sh [test] Running shell script [Pipeline] sh [test] Running shell script [Pipeline] sh [test] Running shell script [Pipeline] sh [test] Running shell script [Pipeline] sh [test] Running shell script [Pipeline] echo foo