Added the new docker image as a new version, because the old one is deprecated.

This commit is contained in:
gothrek22
2017-11-28 11:16:45 +01:00
parent 685be4d53a
commit bc7dabd318
2 changed files with 62 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
jenkins-primary:
image: "jenkins/jenkins:2.92"
ports:
- "${PORT}:8080"
labels:
io.rancher.sidekicks: jenkins-plugins,jenkins-datavolume
io.rancher.container.hostname_override: container_name
volumes_from:
- jenkins-plugins
- jenkins-datavolume
entrypoint: /usr/share/jenkins/rancher/jenkins.sh
jenkins-plugins:
image: rancher/jenkins-plugins:v0.1.1
jenkins-datavolume:
image: "busybox"
volumes:
- ${volume_work}:/var/jenkins_home
labels:
io.rancher.container.start_once: true
entrypoint: ["chown", "-R", "1000:1000", "/var/jenkins_home"]