[bitnami/kserve-storage-initializer] Release 0.15.2-debian-12-r2 (#82776)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2025-06-29 17:45:03 +02:00
committed by GitHub
parent 2937d8e199
commit 029ceede63
4 changed files with 37 additions and 9 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-30T15:05:48Z" \
org.opencontainers.image.created="2025-06-29T15:32:53Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/kserve-storage-initializer/README.md" \
org.opencontainers.image.ref.name="0.15.2-debian-12-r1" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kserve-storage-initializer" \
org.opencontainers.image.title="kserve-storage-initializer" \
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 libbz2-1.0 libcom-err2 libcrypt1 libffi8 libgcc-s1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl3 libstdc++6 libtinfo6 libtirpc3 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=( \
"python-3.12.10-15-linux-${OS_ARCH}-debian-12" \
"python-3.12.11-3-linux-${OS_ARCH}-debian-12" \
"kserve-storage-initializer-0.15.2-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
@@ -45,6 +46,7 @@ RUN apt-get update && apt-get upgrade -y && \
RUN useradd -r -u 1001 -g root kserve-storage-initializer
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
RUN mkdir /.local && chmod g+rwX /.local
RUN uninstall_packages curl
ENV APP_VERSION="0.15.2" \
BITNAMI_APP_NAME="kserve-storage-initializer" \

View File

@@ -9,6 +9,6 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "3.12.10-15"
"version": "3.12.11-3"
}
}

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:
- "0"
- 0-debian-12
- 0.15.2
- latest
- "0"
- 0-debian-12
- 0.15.2
- latest