mirror of
https://github.com/bitnami/containers.git
synced 2026-10-09 23:28:50 +02:00
[bitnami/jenkins] Release 2.568.3-debian-12-r2 (#97281)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,7 +8,7 @@ ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2026-09-03T08:08:12Z" \
|
||||
org.opencontainers.image.created="2026-09-06T19:13:24Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/jenkins/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/jenkins" \
|
||||
@@ -47,13 +47,14 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||
RUN mkdir -p /usr/share/fonts /etc/fonts/conf.d && if [ -d /opt/bitnami/common/fonts ]; then ln -sf /opt/bitnami/common/fonts /usr/share/fonts/bitnami; fi && if [ -d /opt/bitnami/common/fontconfig ]; then ln -sf /opt/bitnami/common/fontconfig /etc/fonts/conf.d/bitnami; fi
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/java/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/jenkins/postunpack.sh
|
||||
ENV APP_VERSION="2.568.3" \
|
||||
BITNAMI_APP_NAME="jenkins" \
|
||||
IMAGE_REVISION="1" \
|
||||
IMAGE_REVISION="2" \
|
||||
JAVA_HOME="/opt/bitnami/java" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/java/bin:$PATH"
|
||||
|
||||
|
||||
@@ -309,8 +309,12 @@ jenkins_add_custom_file() {
|
||||
get_plugin_version() {
|
||||
local -r pluginpath="${1:?pluginpath is required}"
|
||||
local version
|
||||
# Use 7z e -so to extract files to stdout
|
||||
version=$(7z e -so "$pluginpath" META-INF/MANIFEST.MF 2>/dev/null | grep "^Plugin-Version: " | sed -e 's#^Plugin-Version: ##')
|
||||
# Extract MANIFEST.MF to stdout: prefer 7z if available, fallback to unzip
|
||||
if command -v 7z >/dev/null 2>&1; then
|
||||
version=$(7z e -so "$pluginpath" META-INF/MANIFEST.MF 2>/dev/null | grep "^Plugin-Version: " | sed -e 's#^Plugin-Version: ##')
|
||||
else
|
||||
version=$(unzip -p "$pluginpath" META-INF/MANIFEST.MF 2>/dev/null | grep "^Plugin-Version: " | sed -e 's#^Plugin-Version: ##')
|
||||
fi
|
||||
version=${version%%[[:space:]]}
|
||||
echo "$version"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user