Public | Automated Build

Last pushed: 4 months ago
Short Description
Docker image for jenkins on ubuntu
Full Description


Jenkins container based on the official jenkins image. Build on Ubuntu.

(see official jenkins docker project

I've layered on a few useful tools like:

  • git v2
  • wget / curl
  • vim
    See the Dockerfile for details.

As such, this image is somewhat larger than the official image...

Be sure to map a persistent volume to /var/jenkins_home.



Preinstall plugins

Generate plugins.txt from existing jenkins instance

curl -sSL "http://user:password@*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'

also use:

RUN echo 2.0 > /usr/share/jenkins/ref/jenkins.install.UpgradeWizard.state

(see official link above for details)

Docker Pull Command
Source Repository

Comments (0)