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/jenkins.sh b/jenkins.sh new file mode 100755 index 0000000..791f938 --- /dev/null +++ b/jenkins.sh
@@ -0,0 +1,4 @@ +#! /bin/bash + +exec java $JAVA_OPTS -jar /usr/share/jenkins/jenkins.war --extractedFilesFolder=/var/lib/jenkins --prefix=$JENKINS_PREFIX $@ +