Added support for jenkins official container

This commit is contained in:
Steve Walker
2017-04-12 10:25:07 -04:00
parent 7b9ec17d8d
commit 81053c0868
26 changed files with 1459 additions and 0 deletions

View File

@ -0,0 +1,14 @@
master:
build: .
environment:
JAVA_OPTS: "-Djava.awt.headless=true"
ports:
- "50000:50000"
# Expose Jenkins to parent on port 8090
- "8090:8080"
# Allow Docker In Docker
privileged: true
volumes:
- ./jenkins_home:/var/jenkins_home
# Allow Docker In Docker to use parent docker container
- /var/run/docker.sock:/var/run/docker.sock