1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/jenkins
2016-04-27 09:30:12 +08:00
..
arm add jenkins-arm 2016-02-22 18:12:04 +08:00
docker-compose.yml update jenkins 2016-04-27 09:30:12 +08:00
Dockerfile update 2016-01-31 02:17:42 +08:00
README.md update jenkins 2016-04-27 09:30:12 +08:00

jenkins

In a nutshell, Jenkins is the leading open source automation server. Built with Java, it provides hundreds of plugins to support building, testing, deploying and automation for virtually any project.

docker-compose.yml

jenkins:
  image: jenkins:alpine
  ports:
    - "8080:8080"
    - "50000:50000"
  volumes:
    - ./data:/var/jenkins_home
  environment:
    - JAVA_OPTS=-Dhudson.footerURL=http://easypi.info/
  restart: always

up and running

$ cd ~/fig/jenkins
$ mkdir -p data
$ sudo chown 1000 data
$ docker-compose up -d
$ docker-compose exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword
$ firefox http://localhost:8080/