[bitnami/nginx] Release 1.28.0-debian-12-r4 (#82592)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2025-06-26 10:14:41 +02:00
committed by GitHub
parent ed2a8aedf4
commit 12a6772fe6
5 changed files with 40 additions and 12 deletions

View File

@@ -8,10 +8,9 @@ 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-30T10:45:44Z" \
org.opencontainers.image.created="2025-06-26T06:29:43Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/nginx/README.md" \
org.opencontainers.image.ref.name="1.28.0-debian-12-r3" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/nginx" \
org.opencontainers.image.title="nginx" \
org.opencontainers.image.vendor="Broadcom, Inc." \
@@ -26,9 +25,11 @@ COPY prebuildfs /
SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gettext libcrypt1 libgeoip1 libpcre3 libssl3 openssl procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
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.8-0-linux-${OS_ARCH}-debian-12" \
"nginx-1.28.0-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
@@ -46,6 +47,7 @@ RUN chmod g+rwX /opt/bitnami
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
RUN ln -sf /dev/stdout /opt/bitnami/nginx/logs/access.log
RUN ln -sf /dev/stderr /opt/bitnami/nginx/logs/error.log
RUN uninstall_packages curl
COPY rootfs /
RUN /opt/bitnami/scripts/nginx/postunpack.sh

View File

@@ -9,6 +9,6 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "1.0.7-16"
"version": "1.0.8-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:
- "1.28"
- 1.28-debian-12
- 1.28.0
- latest
- "1.28"
- 1.28-debian-12
- 1.28.0
- latest

View File

@@ -473,8 +473,8 @@ services:
nginx:
build: .
ports:
- '80:8181'
- '443:8443'
- 80:8181
- 443:8443
depends_on:
- cloner
volumes:
@@ -482,7 +482,7 @@ services:
- ./certs:/certs
- data:/app
cloner:
image: 'bitnami/git:latest'
image: bitnami/git:latest
command:
- clone
- https://github.com/cloudacademy/static-website-example