All Projects → alexellis → jenkins2docker

alexellis / jenkins2docker

Licence: other
Jenkins 2.x recipe with docker-compose

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:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].