Cloudbees Enterprise Jenkins 1.6 with temporary license
2.2K
$ docker build -t jenkins .
$ docker run -d -p 8080:8080 -p 50000:50000 --env-file=./env.file --name jenkins jenkins
You have to modify the env.file file with the following parameters:
If you would like to start one (or several) Jenkins slaves.
$docker build -f DockerfileSlave -t jenkins-slave .
$docker run -d -v /var/run/docker.sock:/var/run/docker.sock --rm --name jenkins-slave jenkins-slave -url <master-url> <secret> <host>
Add -v /srv:/srv --privileged on the target's slave
You may update the plugins.txt which what need, please be sure to update the Configuration as code plugin configuration file: jenkins.yaml
Content type
Image
Digest
Size
484.4 MB
Last updated
about 6 years ago
docker pull osodevops/docker-jenkins-master