[bitnami/jenkins] Release 2.375.3-debian-11-r2 (#24245)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
parent
e952a767d7
commit
2b3ef3f5c0
|
|
@ -3,11 +3,11 @@ FROM docker.io/bitnami/minideb:bullseye
|
|||
ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-02-17T14:45:53Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="2.375.3-debian-11-r1" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/jenkins" \
|
||||
org.opencontainers.image.ref.name="2.375.3-debian-11-r2" \
|
||||
org.opencontainers.image.title="jenkins" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="2.375.3"
|
||||
|
|
@ -23,10 +23,10 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||
RUN install_packages ca-certificates curl fontconfig git jq libfontconfig1 openssh-client procps unzip zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
COMPONENTS=( \
|
||||
"render-template-1.0.5-0-linux-${OS_ARCH}-debian-11" \
|
||||
"java-11.0.18-10-0-linux-${OS_ARCH}-debian-11" \
|
||||
"gosu-1.16.0-1-linux-${OS_ARCH}-debian-11" \
|
||||
"jenkins-2.375.3-0-linux-${OS_ARCH}-debian-11" \
|
||||
"render-template-1.0.5-1-linux-${OS_ARCH}-debian-11" \
|
||||
"java-11.0.18-10-1-linux-${OS_ARCH}-debian-11" \
|
||||
"gosu-1.16.0-2-linux-${OS_ARCH}-debian-11" \
|
||||
"jenkins-2.375.3-1-linux-${OS_ARCH}-debian-11" \
|
||||
) && \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
|
|
|
|||
|
|
@ -1,30 +1,30 @@
|
|||
{
|
||||
"gosu": {
|
||||
"arch": "amd64",
|
||||
"digest": "9ab9654690d90d3c49ff66fb1eb286487e318adc899d036bc45922f6b176865b",
|
||||
"digest": "f6056076afb745fd7d9d87d20f71e7248d63330352cf5ae0be2130b7f44a8cfa",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.16.0-1"
|
||||
"version": "1.16.0-2"
|
||||
},
|
||||
"java": {
|
||||
"arch": "amd64",
|
||||
"digest": "f8c3013925073f94edc495584b76f0b08c867ba35c524e2b262e47e815a443b9",
|
||||
"digest": "cd40a6df619d734d300324ad671f34323152e84682bc998da1330f1a7f0acfa6",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "11.0.18-10-0"
|
||||
"version": "11.0.18-10-1"
|
||||
},
|
||||
"jenkins": {
|
||||
"arch": "amd64",
|
||||
"digest": "518c2391798585cb63432f9c72941d36614bdc65b5c5f3a67c95ae11b4f40007",
|
||||
"digest": "7ebec9c1b335305042a6e6d8d5bd6d0568b92fc454aec8982a9515cbe76c934d",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "2.375.3-0"
|
||||
"version": "2.375.3-1"
|
||||
},
|
||||
"render-template": {
|
||||
"arch": "amd64",
|
||||
"digest": "57c1d857acbb187fcb98f4ba26d138af9d866f59ad38dd443a75c0a6422de994",
|
||||
"digest": "185e277977366ec222d2bde1a395ffa138ce1a9d3bdf1df20c3e49e8b8f9c68b",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.5-0"
|
||||
"version": "1.0.5-1"
|
||||
}
|
||||
}
|
||||
|
|
@ -90,7 +90,7 @@ docker network create jenkins-network
|
|||
#### Step 2: Create volumes for Jenkins persistence and launch the container
|
||||
|
||||
```console
|
||||
docker volume create --name jenkins_data
|
||||
$ docker volume create --name jenkins_data
|
||||
docker run -d -p 80:8080 --name jenkins \
|
||||
--network jenkins-network \
|
||||
--volume jenkins_data:/bitnami/jenkins \
|
||||
|
|
@ -162,7 +162,7 @@ When you start the Jenkins image, you can adjust the configuration of the instan
|
|||
* For manual execution add a `--env` option with each variable and value:
|
||||
|
||||
```console
|
||||
docker run -d -p 80:8080 --name jenkins \
|
||||
$ docker run -d -p 80:8080 --name jenkins \
|
||||
--env JENKINS_PASSWORD=my_password \
|
||||
--network jenkins-network \
|
||||
--volume /path/to/jenkins-persistence:/bitnami/jenkins \
|
||||
|
|
@ -213,8 +213,8 @@ To backup your data, configuration and logs, follow these simple steps:
|
|||
|
||||
#### Step 1: Stop the currently running container
|
||||
|
||||
* For docker-compose: `docker-compose stop jenkins`
|
||||
* For manual execution: `docker stop jenkins`
|
||||
* For docker-compose: `$ docker-compose stop jenkins`
|
||||
* For manual execution: `$ docker stop jenkins`
|
||||
|
||||
#### Step 2: Run the backup command
|
||||
|
||||
|
|
@ -230,7 +230,7 @@ docker run --rm -v /path/to/jenkins-backups:/backups --volumes-from jenkins bitn
|
|||
Restoring a backup is as simple as mounting the backup as volumes in the containers.
|
||||
|
||||
```diff
|
||||
docker run -d --name jenkins \
|
||||
$ docker run -d --name jenkins \
|
||||
...
|
||||
- --volume /path/to/jenkins-persistence:/bitnami/jenkins \
|
||||
+ --volume /path/to/jenkins-backups/latest:/bitnami/jenkins \
|
||||
|
|
@ -249,8 +249,8 @@ docker pull bitnami/jenkins:latest
|
|||
|
||||
### Step 2. Stop your container
|
||||
|
||||
* For docker-compose: `docker-compose stop jenkins`
|
||||
* For manual execution: `docker stop jenkins`
|
||||
* For docker-compose: `$ docker-compose stop jenkins`
|
||||
* For manual execution: `$ docker stop jenkins`
|
||||
|
||||
### Step 3. Take a snapshot of the application state
|
||||
|
||||
|
|
@ -258,13 +258,13 @@ Follow the steps in [Backing up your container](#backing-up-your-container) to t
|
|||
|
||||
### Step 4. Remove the stopped container
|
||||
|
||||
* For docker-compose: `docker-compose rm -v jenkins`
|
||||
* For manual execution: `docker rm -v jenkins`
|
||||
* For docker-compose: `$ docker-compose rm -v jenkins`
|
||||
* For manual execution: `$ docker rm -v jenkins`
|
||||
|
||||
### Step 5. Run the new image
|
||||
|
||||
* For docker-compose: `docker-compose up jenkins`
|
||||
* For manual execution mount the directories if needed): `docker run --name jenkins bitnami/jenkins:latest`
|
||||
* For docker-compose: `$ docker-compose up jenkins`
|
||||
* For manual execution (mount the directories if needed): `docker run --name jenkins bitnami/jenkins:latest`
|
||||
|
||||
## Customize this image
|
||||
|
||||
|
|
@ -339,16 +339,16 @@ You can create custom groovy scripts and make Jenkins run them at start up.
|
|||
However, using this feature will disable the default configuration done by the Bitnami scripts. This is intended to customize the Jenkins configuration by code.
|
||||
|
||||
```console
|
||||
mkdir jenkins-init.groovy.d
|
||||
echo "println '--> hello world'" > jenkins-init.groovy.d/AA_hello.groovy
|
||||
echo "println '--> bye world'" > jenkins-init.groovy.d/BA_bye.groovy
|
||||
$ mkdir jenkins-init.groovy.d
|
||||
$ echo "println '--> hello world'" > jenkins-init.groovy.d/AA_hello.groovy
|
||||
$ echo "println '--> bye world'" > jenkins-init.groovy.d/BA_bye.groovy
|
||||
|
||||
docker run -d -p 80:8080 --name jenkins \
|
||||
--env "JENKINS_SKIP_BOOTSTRAP=yes" \
|
||||
--volume "$(pwd)/jenkins-init.groovy.d:/usr/share/jenkins/ref/init.groovy.d" \
|
||||
bitnami/jenkins:latest
|
||||
|
||||
docker logs jenkins | grep world
|
||||
$ docker logs jenkins | grep world
|
||||
--> hello world!
|
||||
--> bye world!
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue