This Jenkins master image is configured to be used by integration tests, see the main README
Build the image
docker build -t jenkins-rest/jenkins .
You can decide which Jenkins version to used by passing the jenkins_tag
docker build argument like in the following
docker build --build-arg jenkins_tag=2.164.3-slim -t jenkins-rest/jenkins .
Run the jenkins master container
docker run -d --rm -p 8080:8080 --name jenkins-rest jenkins-rest/jenkins