Public | Automated Build

Last pushed: a year ago
Short Description
Jenkins container image with Java 8, npm and bower.
Full Description

#docker-jenkins

About

Now support for npm and bower out of the box.

Ensure you are familiar with the docker system.

Provides Jenkins CI Server on Java 8 with Maven 3.2

Easily combines the three more or less official docker repos.

Dockerfile inherits FROM maven:3.2-jdk-8 that inherits FROM java:openjdk-8u40-jdk.

Then I had a look at cloudbees/michaelneale jenkins-ci.org-docker files.

Usage

Quickstart

docker run -it -p 8080:8080 mkodockx/docker-jenkins

This will store the workspace in /var/jenkins_home. All Jenkins data lives in there - including plugins and configuration.

Volumes

So -> You will probably want to make that a persistent volume (recommended):

docker run -p 8080:8080 -v /your/home:/var/jenkins_home mkodockx/docker-jenkins

This will store the jenkins data in /your/home on the host.
Ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 102 normally - or use -u root).

You can also use a volume container:

docker run --name tjenkins -p 8080:8080 -v /var/jenkins_home mkodockx/docker-jenkins

Then tjenkins container is linked via the volume. Read about docker volume handling to find out more.

Authentication

Point to http://localhost:8080.

Username: admin
Password: password

References

JAVA

Maven

Jenkins

Further information

jenkins-ci.org-docker

Docker Pull Command
Owner
mkodockx
Source Repository

Comments (0)