HUB
Sign inSign up

pascalgrimaud/jenkins

By pascalgrimaud

•Updated over 11 years ago

Jenkins container on Ubuntu 14.04

Image
0

417

pascalgrimaud/jenkins repository overview

[logo] (https://jenkins-ci.org/⁠)

[Circle CI] (https://circleci.com/gh/pascalgrimaud/docker-jenkins⁠)

⁠Information

The base docker image :

The GitHub project :

What are installed in this container :

  • oracle-java8
  • git
  • subversion
  • ant 1.9.5
  • maven 3.3.3

⁠Installation

You can clone this project and build with docker command :

git clone https://github.com/pascalgrimaud/docker-jenkins.git
cd docker-jenkins
docker build -t pascalgrimaud/jenkins .

You can build directly from the GitHub project⁠ :

docker build -t pascalgrimaud/jenkins github.com/pascalgrimaud/docker-jenkins.git

⁠Usage

Quick start with binding to port 8080 :

docker run -d -p 8080:8080 pascalgrimaud/jenkins

⁠Usage with volumes

Start and mount a volume for all jenkins config at ~/volumes/jenkins/jenkins_home :

docker run -d -v ~/volumes/jenkins/jenkins_home:/opt/jenkins/jenkins_home \
-p 8080:8080 pascalgrimaud/jenkins

⁠Maven and settings.xml

The settings.xml is added to the container at the path /root/.m2/settings.xml

You can modify this file if you are behind a proxy for example. I don't want the .m2 to be inside the container, so I put in settings.xml :

<localRepository>/opt/jenkins/jenkins_home/.m2</localRepository>

Tag summary

Content type

Image

Digest

sha256:146c19f09…

Size

609.7 MB

Last updated

over 11 years ago

docker pull pascalgrimaud/jenkins