[bitnami/tomcat] Release 10.1.42-debian-12-r0 (#82151)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2025-06-10 01:47:28 +02:00
committed by GitHub
parent 88cca61b91
commit 9c3d4b32b3
5 changed files with 37 additions and 10 deletions

View File

@@ -9,14 +9,14 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2025-05-30T16:09:24Z" \
org.opencontainers.image.created="2025-06-09T23:26:06Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/tomcat/README.md" \
org.opencontainers.image.ref.name="10.1.41-debian-12-r5" \
org.opencontainers.image.ref.name="10.1.42-debian-12-r0" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/tomcat" \
org.opencontainers.image.title="tomcat" \
org.opencontainers.image.vendor="Broadcom, Inc." \
org.opencontainers.image.version="10.1.41"
org.opencontainers.image.version="10.1.42"
ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -29,9 +29,9 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl libssl3 procps xmlstarlet zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
COMPONENTS=( \
"render-template-1.0.7-16-linux-${OS_ARCH}-debian-12" \
"render-template-1.0.7-17-linux-${OS_ARCH}-debian-12" \
"jre-21.0.7-9-0-linux-${OS_ARCH}-debian-12" \
"tomcat-10.1.41-3-linux-${OS_ARCH}-debian-12" \
"tomcat-10.1.42-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -46,11 +46,12 @@ 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 uninstall_packages curl
COPY rootfs /
RUN /opt/bitnami/scripts/java/postunpack.sh
RUN /opt/bitnami/scripts/tomcat/postunpack.sh
ENV APP_VERSION="10.1.41" \
ENV APP_VERSION="10.1.42" \
BITNAMI_APP_NAME="tomcat" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/java/bin:/opt/bitnami/tomcat/bin:$PATH"

View File

@@ -9,12 +9,12 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "1.0.7-16"
"version": "1.0.7-17"
},
"tomcat": {
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "10.1.41-3"
"version": "10.1.42-0"
}
}

View File

@@ -0,0 +1,26 @@
#!/bin/sh
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
set -eu
n=0
max=2
export DEBIAN_FRONTEND=noninteractive
until [ $n -gt $max ]; do
set +e
(
apt-get autoremove --purge -y "$@"
)
CODE=$?
set -e
if [ $CODE -eq 0 ]; then
break
fi
if [ $n -eq $max ]; then
exit $CODE
fi
echo "apt failed, retrying"
n=$(($n + 1))
done
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives

View File

@@ -1,5 +1,5 @@
rolling-tags:
- "10.1"
- 10.1-debian-12
- 10.1.41
- 10.1.42
- latest

View File

@@ -106,7 +106,7 @@ docker cp /path/to/app.war tomcat:/app
In case you want to create a custom image that already contains your application war file, you need to add it to the `/opt/bitnami/tomcat/webapps` folder. In the example below we create a forked image with an extra `.war` file.
```Dockerfile
FROM bitnami/tomcat:9.0
FROM bitnami/tomcat:latest
COPY sample.war /opt/bitnami/tomcat/webapps
```