Created
October 19, 2014 09:36
-
-
Save supaket/e424c6c7fca4af54e808 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM komljen/jdk6-oracle | |
RUN wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add - | |
RUN echo "deb http://pkg.jenkins-ci.org/debian binary/" > /etc/apt/sources.list.d/jenkins.list | |
RUN apt-get -qq update | |
RUN apt-get -qqy install jenkins | |
VOLUME ["/root/.jenkins"] | |
EXPOSE 8080 | |
RUN rm /usr/sbin/policy-rc.d | |
CMD ["/usr/bin/java", "-jar", "/usr/share/jenkins/jenkins.war", "--webroot=/root/.jenkins/web"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment