Sign inSign up

mkodockx/docker-jenkins

By mkodockx

Updated over 10 years ago

Jenkins container image with Java 8, npm and bower.

Image
0

10K+

mkodockx/docker-jenkins repository overview

#docker-jenkins

jenkins 1.651.2

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

jenkins logo

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

Tag summary

Content type

Image

Digest

sha256:e9c3badc3

Size

311.7 MB

Last updated

over 10 years ago

docker pull mkodockx/docker-jenkins