commit | d606438cf62dcef04f4a3b3dddcd8d33acb2fcdc | [log] [tgz] |
---|---|---|
author | Nicolas De Loof <nicolas.deloof@gmail.com> | Sat Oct 04 08:17:28 2014 +0200 |
committer | Nicolas De Loof <nicolas.deloof@gmail.com> | Sat Oct 04 08:17:28 2014 +0200 |
tree | 8f613476ff7192c68460d904e5d34189e9dcf6a4 | |
parent | 4e92ae63120b4bafde1e80f37345ef44b26c67b7 [diff] [blame] |
use a helper script as recommended on https://docs.docker.com/articles/dockerfile_best-practices/#entrypoint
diff --git a/Dockerfile b/Dockerfile index 10c6c0a..208d9e5 100644 --- a/Dockerfile +++ b/Dockerfile
@@ -26,4 +26,5 @@ USER jenkins -ENTRYPOINT java $JAVA_OPTS -jar /usr/share/jenkins/jenkins.war --prefix=$JENKINS_PREFIX +COPY jenkins.sh /usr/local/bin/jenkins.sh +ENTRYPOINT ["/usr/local/bin/jenkins.sh"]