Skip to content

Instantly share code, notes, and snippets.

@jfchevrette
Created June 18, 2013 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfchevrette/5805684 to your computer and use it in GitHub Desktop.
Save jfchevrette/5805684 to your computer and use it in GitHub Desktop.
# Jenkins Stable
#
# VERSION 1.517/1.509.1
# DOCKER-VERSION 0.4.0
FROM base:ubuntu-12.10
MAINTAINER Victor Vieux <victor@vvieux.com>
# 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