Public Repository

Last pushed: 21 hours ago
Short Description
🤖 Extended Jenkins docker image, bundled with Docker, Ansible, AWSCLI and pre-installed plugins.
Full Description

This is a fully functional Jenkins server, bundled with Docker, Ansible, AWSCLI and pre-installed Jenkins plugins. Based on the Jenkins LTS releases.

How to use

docker run -p 8080:8080 -p 50000:50000 h1kkan/jenkins-docker:lts

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

You will probably want to make that an explicit volume so you can manage it and attach to another container for upgrades:

docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home h1kkan/jenkins-docker:lts

this will automatically create a 'jenkins_home' volume on docker host, that will survive container stop/restart/deletion.

Avoid using a bind mount from a folder on host into /var/jenkins_home, as this might result in file permission issue. If you really need to bind mount jenkins_home directory, ensure that directory on host is accessible by the jenkins user in container (jenkins container uid is 1000) or use -u some_other_userid parameter with docker run command, so the run command will look like:

docker run -p 8080:8080 -p 50000:50000 -v /path/to/jenkins_home:/var/jenkins_home h1kkan/jenkins-docker:lts

You can also read documentation for official docker image, since they are backward compatible.

Tags

Images tagged by respective Jenkins server version which will be provided by image. Lighter alpine based image also available.

All images bundled with latest Docker, Ansible, AWSCLI and pre-installed Jenkins plugins, which provide ability to create f.e. Docker Build Jobs / Ansible Jobs / CI/CD Jobs / etc from the box.

Pre-installed Jenkins plugins list: Amazon ECR, Amazon Web Services SDK, Ansible, AnsiColor, Bitbucket, Build Authorization Token Root, Build Timestamp, CloudBees Docker Build and Publish, CloudBees Docker Custom Build Environment, Embeddable Build Status, Environment Injector, GitHub, GitLab, Simple Theme, Timestamper.

Supported tags

Tag Build Status Jenkins Version Size / Layers
lts 2.107.2
lts-alpine 2.107.2
2.107.2 2.107.2
2.107.2-alpine 2.107.2
2.107.1 2.107.1
2.107.1-alpine 2.107.1
2.89.4 2.89.4
2.89.4-alpine 2.89.4
2.89.3 2.89.3
2.89.3-alpine 2.89.3
2.89.2 2.89.2
2.89.2-alpine 2.89.2
2.89.1 2.89.1
2.89.1-alpine 2.89.1
Docker Pull Command
Owner
h1kkan