An open API service indexing awesome lists of open source software.

https://github.com/fsamin/docker-jenkins


https://github.com/fsamin/docker-jenkins

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

docker-jenkins
==============

##Dockerfile


FROM fsamin/docker-oracle-java7
MAINTAINER François Samin [email protected]
ADD http://mirrors.jenkins-ci.org/war/latest/jenkins.war /opt/jenkins.war
RUN ln -sf /jenkins /root/.jenkins
ENTRYPOINT [“java”, “-jar”, “/opt/jenkins.war”]
EXPOSE 8080 VOLUME [“/jenkins”]
CMD [“”]

##Start the container

docker run -d -p 8080:8080 –privileged -t -v /data/jenkins:/jenkins fsamin/docker-jenkins