Jenkins Docker image with built-in Maven 3.3.9 and Docker engine (Docker in Docker)
230
To start this container you can use docker-compose:
version: "2.1"
services:
jenkinscicd:
image: onesaitplatform/jenkins:latest
container_name: jenkinscicd
ports:
- "8080:8080"
volumes:
- /home/user/jenkins_home:/var/jenkins_home:rw
- /var/run/docker.sock:/var/run/docker.sock
restart: on-failure
or you can simply type:
docker run -v /var/run/docker.sock:/var/run/docker.sock -v /home/user/jenkins_home:/var/jenkins_home -p 8080:8080 -d onesaitplatform/jenkins:latest
With this image you can build Docker Images inside Jenkins container mapping docker.sock. Furthermore you can use built-in Maven for project building
Content type
Image
Digest
Size
641 MB
Last updated
almost 7 years ago
docker pull onesaitplatform/jenkins