This repository is provided as a set of functional working examples that follows along with a blog series released by Maxfield Stewart at Riot Games, Each folder contains a self contained set of files that are the end result of each tutorial and are provided as is.
- Thinking Inside the Container
- Putting Jenkins into a Docker Container
- Docker Jenkins and Data that Persists
- Jenkins, Docker, Proxies and Compose
- Taking Control of your Docker Image
- Building With Jenkins Inside an Ephemeral Docker Container
Ideally users should follow the blog series for specific directions. That said here's some basic setup instructions you will need before these become viable.
- You’ll need Windows 7 (or later) or Mac OSX Sierra or later.
- Go to: https://docs.docker.com/docker-for-mac/ (or https://docs.docker.com/docker-for-windows/)
- Download and install Docker for your platform
- Follow all setup instructions.
- Verify your installation is working by opening a docker terminal window (in windows this step is done by clicking the docker quickstart desktop icon) by running the following steps:
- Type: docker images (verify it gives you an empty list back with no errors).
- If you want to get started with Jenkins right away, follow the instructions for using the pre-built jenkins setup in this repo here: https://github.com/maxfields2000/dockerjenkins_tutorial/blob/master/jenkins/README.md
- If you'd prefer to follow the tutorials in the blog and learn as you go/build it yourself, start here: https://engineering.riotgames.com/news/putting-jenkins-docker-container
Good luck, Have Fun!