This repository contains the Dockerfile to create a Jenkin's master image.
It contains the Jenkins itself and the CodeClimate cli, the latter is used to send the coverage report to the CodeClimate.
The image is already published on Docker hub, if you want to make some changes to it, you have to rebuild it and to republished it to the Docker hub:
docker build -t asseinfo/jenkins .
docker push asseinfo/jenkins
Run the below command to start the Jenkins container:
docker run -d -u root --name jenkins_master --restart always -p 8080:8080 -p 50000:50000 -v /var/jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock asseinfo/jenkins