generated from gCubeCI/Pipeline-Docker-Template
|
|
||
|---|---|---|
| Dockerfile | ||
| Jenkinsfile | ||
| README.md | ||
| build_jenkins_image_prod.sh | ||
| get_plugin_updated_file.sh | ||
| jenkins-cli.jar | ||
| plugin_260226.txt | ||
| plugin_260724.txt | ||
| plugins.txt | ||
README.md
Jenkins Image build repository
This repository contains the Dockerfile and plugin list to build the jenkins image.
The plugins are installed directly during the build phase. To update the plugins, just re-build the image.
IMP: DO NOT BUILD THIS IMAGE IN THE SAME JENKINS OF THIS IMAGE. Build it locally and then publish it on harbor
Image Details
This Jenkins image is based on jenkins/jenkins:lts-jdk17 and includes the following tools:
- Docker CLI
Publication
The Docker image for this agent is published to Harbor at the following location:
harbor.d4science.org/jenkins-infrascience/newjenkins:latest
Author
- Marco Procaccini
- Email: marco.procaccini@isti.cnr.it
HOW TO BUILD:
- Execute the following command to tag and build the image:
docker build -t jenkins-image:{TAG}
available tags:
- v17.0: tag of the java 17 version of jenkins
- latest: tag o the latest version of jenkins used in production
HOT TO PUBLISH ON HARBOR:
- First, login into D4Science Harbor registry with a robot account of the jenkins-infrascience project
docker login harbor.d4science.org/jenkins-infrascience
- Tag the built image for harbor
docker tag jenkins-image:{TAG} harbor.d4science.org/jenkins-infrascience/jenkins-image:{TAG}
- Push the image into the harbor repository
docker push harbor.d4science.org/jenkins-infrascience/jenkins-image:{TAG}