Skip to content

custom jenkins/jenkins:lts-jdk17 docker image that provides multiple features and pre-installed plugins out of the box.

License

Notifications You must be signed in to change notification settings

allandeboe/jenkins-jdk17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins - JDK17

functional, jenkins/jenkins:lts-jdk17 docker image that is in dark mode by default and contains all relevant dependencies that make it easy to have Jenkins pipelines build and run docker images & containers. It also ensures that the Built-in Node has 0 executors.

I personally use this for my other project, Focust.

Based on liatrio/alpine-jenkins, hence the same Apache 2.0 License. However, it is modified to work with jenkins/jenkins:lts-jdk17 instead of jenkins/jenkins:2.154-alpine as well as to fit with my needs.

Provided Jenkins Plugins

Here is the list of plugins that come pre-packaged with this image:

This list is subject to change in future commits.

Supported Tags

Here is the list of supported tags for this image:

  • latest

Build Image

If you want to build this image yourself, you first need to install a Shadow debian package and place it inside of the ./resources/ directory as shadow-amd64.deb (using any other name for this deb package will require a modification to the Dockerfile).

One can then build the image, as follows:

docker build -t allandeboe/jenkins-jdk17:latest .

Run Image

First make sure that there is a volume called jenkins_home. If it hasn't been created, you can run the following command:

docker volume create jenkins_home

Finally, to create the container, you simply have the run the docker container exactly as follows:

docker run --name jenkins \
-p 8080:8080 -p 50000:50000 \
-v jenkins_home:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart=always \
allandeboe/jenkins-jdk17:latest

And you can access Jenkins through https://localhost:8080. The login credentials are admin for the username and admin for the password (you can change this by modifying the resources/basic-security.groovy file, although it requires re-building the image and container)

About

custom jenkins/jenkins:lts-jdk17 docker image that provides multiple features and pre-installed plugins out of the box.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published