Built upon the official Jenkins (LTS), with JDK 11. Includes Docker for containerized workflows
182
Base Image for Jenkins with Docker Support
This Docker image is built upon the official Jenkins Long-Term Support (LTS) release, incorporating JDK 11. In addition to the standard Jenkins setup, it includes Docker support to enable seamless integration with containerized workflows.
Key Features:
jenkins/jenkins:lts-jdk11.Usage Instructions:
How it's Build:
FROM jenkins/jenkins:lts-jdk11
USER root
RUN apt update && curl -fsSL https://get.docker.com | sh
RUN apt install -y docker-compose
RUN usermod -aG docker jenkins
USER jenkins
Note: Ensure proper security measures are in place, and access to the Docker daemon is controlled as per best practices.
Your docker-compose file
version: "3"
services:
jenkins:
image: nanorocks/jenkins-with-docker
privileged: true
user: root
restart: always
ports:
- 8080:8080
- 50000:50000
container_name: jenkins
networks:
- jenkins-docker
volumes:
- .docker/jenkins_home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
networks:
jenkins-docker:
driver: bridge
Content type
Image
Digest
sha256:d40cbdaeb…
Size
596.2 MB
Last updated
over 2 years ago
docker pull nanorocks/jenkins-with-docker