Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 568 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 568 Bytes

Building and running a Jenkins master with Docker

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