Skip to content

brokenicedev/jenkins-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Official Jenkins Docker image

Docker Stars Docker Pulls Join the chat at https://gitter.im/jenkinsci/docker

The Jenkins Continuous Integration and Delivery server available on Docker Hub.

This is a fully functional Jenkins server with docker and docker-compose installed. https://jenkins.io/.

Build local

docker build -t brokenice/jenkins-docker-compose:0.0.1 .

Push new version to docker-hub

docker login -u brokenice
docker push brokenice/jenkins-docker-compose:0.0.1

Usage publish version

create a folder called jenkins-docker, inside the folder make a directory called jenkins and a file called docker-compose.yml with this content:

version: '3.7'
services:
  jenkins:
    image: brokenice/jenkins:2.249.1
    privileged: true
    user: root
    ports:
      - 8081:8080
      - 50000:50000
    container_name: jenkins
    volumes:
      - ~/jenkins:/var/jenkins_home
      - /var/run/docker.sock:/var/run/docker.sock
      - /usr/local/bin/docker:/usr/local/bin/docker

Now you can run

docker-compose up

The jenkins data will survive in the folder jenkins

About

Jenkins installation with agent docker and docker-compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published