Sign inSign up

codeneko/jenkins-with-docker

By codeneko

•Updated about 5 years ago

Uses the Jenkins Docker Image, adds Docker CE, and sets up for use with CoreOS.

Image
1

10K+

codeneko/jenkins-with-docker repository overview

⁠Jenkins With Docker

This is a simple dockerfile that pulls from the Jenkins Docker Image⁠, adds in Docker CE⁠ for the command line interface, and sets up the user account for the shared docker socket from CoreOS⁠.

⁠Usage

Template Systemd Service Unit using port 8080

[Unit]
Description=Jenkins container
Author=Kreutzwieser Joel
After=docker.service

[Service]
Restart=always
ExecStartPre=-/usr/bin/docker kill jenkins
ExecStartPre=-/usr/bin/docker rm jenkins
ExecStartPre=/usr/bin/docker pull codeneko/jenkins-with-docker
ExecStart=/usr/bin/docker run --rm -p 8080:8080 -p 50000:50000 -v /home/jenkins:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock --name jenkins codeneko/jenkins-with-docker
ExecStop=/usr/bin/docker stop jenkins

Tag summary

Content type

Image

Digest

Size

494.4 MB

Last updated

about 5 years ago

docker pull codeneko/jenkins-with-docker