From 214b4a2f0bceb542b63966ea8f3f0745a4a1389b Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 4 Jun 2025 20:00:54 +0200 Subject: [PATCH] [bitnami/argo-workflow-cli] Release 3.6.10-debian-12-r0 (#81937) Signed-off-by: Bitnami Bot --- .../argo-workflow-cli/3/debian-12/Dockerfile | 11 ++++---- .../opt/bitnami/.bitnami_components.json | 2 +- .../prebuildfs/usr/sbin/uninstall_packages | 26 +++++++++++++++++++ .../3/debian-12/tags-info.yaml | 2 +- 4 files changed, 34 insertions(+), 7 deletions(-) create mode 100755 bitnami/argo-workflow-cli/3/debian-12/prebuildfs/usr/sbin/uninstall_packages diff --git a/bitnami/argo-workflow-cli/3/debian-12/Dockerfile b/bitnami/argo-workflow-cli/3/debian-12/Dockerfile index 5e516a9ab1b8..075b6e417af7 100644 --- a/bitnami/argo-workflow-cli/3/debian-12/Dockerfile +++ b/bitnami/argo-workflow-cli/3/debian-12/Dockerfile @@ -15,7 +15,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \ COMPONENTS=( \ - "argo-workflows-3.6.9-0-linux-${OS_ARCH}-debian-12" \ + "argo-workflows-3.6.10-0-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -26,6 +26,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \ tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner ; \ rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ done +RUN uninstall_packages curl ###### @@ -38,12 +39,12 @@ ENV OS_ARCH="${TARGETARCH:-amd64}" LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="scratch" \ - org.opencontainers.image.created="2025-06-03T15:42:33Z" \ + org.opencontainers.image.created="2025-06-04T17:39:20Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ - org.opencontainers.image.ref.name="3.6.9-debian-12-r0" \ + org.opencontainers.image.ref.name="3.6.10-debian-12-r0" \ org.opencontainers.image.title="argo-workflow-cli" \ org.opencontainers.image.vendor="Broadcom, Inc." \ - org.opencontainers.image.version="3.6.9" + org.opencontainers.image.version="3.6.10" COPY rootfs / COPY --from=builder /opt/bitnami/argo-workflows/hack/nsswitch.conf /etc/nsswitch.conf @@ -52,7 +53,7 @@ COPY --from=builder /opt/bitnami/argo-workflows/.spdx-argo-workflows.spdx /opt/b COPY --from=builder /opt/bitnami/argo-workflows/bin/argo /opt/bitnami/argo-workflows/bin/argo COPY --from=builder /opt/bitnami/argo-workflows/licenses /opt/bitnami/argo-workflows/licenses -ENV APP_VERSION="3.6.9" \ +ENV APP_VERSION="3.6.10" \ BITNAMI_APP_NAME="argo-workflow-cli" \ PATH="/opt/bitnami/argo-workflows/bin:$PATH" diff --git a/bitnami/argo-workflow-cli/3/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/argo-workflow-cli/3/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index c02ee1812819..2e9084f52ee4 100644 --- a/bitnami/argo-workflow-cli/3/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/argo-workflow-cli/3/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,6 +3,6 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "3.6.9-0" + "version": "3.6.10-0" } } \ No newline at end of file diff --git a/bitnami/argo-workflow-cli/3/debian-12/prebuildfs/usr/sbin/uninstall_packages b/bitnami/argo-workflow-cli/3/debian-12/prebuildfs/usr/sbin/uninstall_packages new file mode 100755 index 000000000000..615c430e4e68 --- /dev/null +++ b/bitnami/argo-workflow-cli/3/debian-12/prebuildfs/usr/sbin/uninstall_packages @@ -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 diff --git a/bitnami/argo-workflow-cli/3/debian-12/tags-info.yaml b/bitnami/argo-workflow-cli/3/debian-12/tags-info.yaml index 6af75b3a84d5..c9e5c8205e3c 100644 --- a/bitnami/argo-workflow-cli/3/debian-12/tags-info.yaml +++ b/bitnami/argo-workflow-cli/3/debian-12/tags-info.yaml @@ -1,5 +1,5 @@ rolling-tags: - "3" - 3-debian-12 -- 3.6.9 +- 3.6.10 - latest