mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 15:27:45 +08:00
[bitnami/memcached-exporter] Release 0.15.3-debian-12-r1 (#82035)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -15,7 +15,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
|||||||
RUN install_packages ca-certificates curl
|
RUN install_packages ca-certificates curl
|
||||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||||
COMPONENTS=( \
|
COMPONENTS=( \
|
||||||
"memcached-exporter-0.15.3-0-linux-${OS_ARCH}-debian-12" \
|
"memcached-exporter-0.15.3-1-linux-${OS_ARCH}-debian-12" \
|
||||||
) ; \
|
) ; \
|
||||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
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 ; \
|
tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner ; \
|
||||||
rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \
|
rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \
|
||||||
done
|
done
|
||||||
|
RUN uninstall_packages curl
|
||||||
|
|
||||||
######
|
######
|
||||||
|
|
||||||
@@ -38,9 +39,9 @@ ENV OS_ARCH="${TARGETARCH:-amd64}"
|
|||||||
|
|
||||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||||
org.opencontainers.image.base.name="scratch" \
|
org.opencontainers.image.base.name="scratch" \
|
||||||
org.opencontainers.image.created="2025-05-28T17:31:30Z" \
|
org.opencontainers.image.created="2025-06-06T02:37:31Z" \
|
||||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||||
org.opencontainers.image.ref.name="0.15.3-debian-12-r0" \
|
org.opencontainers.image.ref.name="0.15.3-debian-12-r1" \
|
||||||
org.opencontainers.image.title="memcached-exporter" \
|
org.opencontainers.image.title="memcached-exporter" \
|
||||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||||
org.opencontainers.image.version="0.15.3"
|
org.opencontainers.image.version="0.15.3"
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-12",
|
"distro": "debian-12",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "0.15.3-0"
|
"version": "0.15.3-1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user