Created
June 18, 2013 14:14
-
-
Save jfchevrette/5805684 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
# Jenkins Stable | |
# | |
# VERSION 1.517/1.509.1 | |
# DOCKER-VERSION 0.4.0 | |
FROM base:ubuntu-12.10 | |
MAINTAINER Victor Vieux <[email protected]> | |
# Install Jenkins Stable | |
RUN apt-get install wget -y | |
RUN wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | sudo apt-key add - | |
RUN sh -c 'echo deb http://pkg.jenkins-ci.org/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' | |
RUN apt-get update | |
RUN apt-get install jenkins -y | |
# Expose Jenkins' port | |
EXPOSE :8080 | |
CMD /etc/init.d/jenkins start && tail -f /var/log/jenkins/jenkins.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment