Skip to content

Wouter-M/jenkins2docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins 2.0 with Docker Compose

Pre-built solution for Jenkins 2.0 and a Node.js slave through Docker Compose

This repository accompanies blog post, please head over to the blog for instructions on setting up the build and example project:

Jenkins 2.0 first impressions

Please Star the repo to support the project

Docker, perfect for test-driving Jenkins

When Jenkins 2.0 was released I wanted to take it for a test drive, the perfect way to do this was through Docker. Docker means zero commitment to installing packages and configuring your system. Even installing Java could take you on a 30-60min hour detour, Official, prebuilt images in the Docker Hub completely eliminates that and gives you near instant access to pre-packaged software.

I started off by looking at the official instructions for starting a Jenkins 2.0 container. They give 3-4 variations of the docker run command but this can be made much simpler through the use of Docker Compose and a docker-compose.yml file.

Jenkins Slave Docker images:

You can pull these images straight from the public Docker Hub to be used as Jenkins slave agents.

Jenkins slave images have been trimmed down to 150mb from 650mb+ by switching to Alpine Linux.

Supporting files:

About

Jenkins 2.0 on Docker with docker-compose. Some adaptations for volumes etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published