From cbbc91b2fffaf7b6993b73580da66e2afc795a11 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 6 Oct 2022 13:53:45 +0200 Subject: [PATCH] [bitnami/pushgateway] Release 1.4.3-debian-11-r46 (#9109) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/pushgateway/1/debian-11/Dockerfile | 21 +++++++++++++-------- bitnami/pushgateway/README.md | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/bitnami/pushgateway/1/debian-11/Dockerfile b/bitnami/pushgateway/1/debian-11/Dockerfile index b2471bd3513d..f30cfbaa81f6 100644 --- a/bitnami/pushgateway/1/debian-11/Dockerfile +++ b/bitnami/pushgateway/1/debian-11/Dockerfile @@ -4,7 +4,7 @@ ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="1.4.3-debian-11-r45" \ + org.opencontainers.image.ref.name="1.4.3-debian-11-r46" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/pushgateway" \ org.opencontainers.image.title="pushgateway" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -20,13 +20,18 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl procps RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f pushgateway-1.4.3-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/pushgateway-1.4.3-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/pushgateway-1.4.3-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c pushgateway-1.4.3-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf pushgateway-1.4.3-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf pushgateway-1.4.3-154-linux-${OS_ARCH}-debian-11.tar.gz pushgateway-1.4.3-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 + COMPONENTS=( \ + "pushgateway-1.4.3-154-linux-${OS_ARCH}-debian-11" \ + ) && \ + for COMPONENT in "${COMPONENTS[@]}"; do \ + if [ ! -f "${COMPONENT}.tar.gz" ]; then \ + curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ + curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ + fi && \ + sha256sum -c "${COMPONENT}.tar.gz.sha256" && \ + tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf "${COMPONENT}.tar.gz{,sha256}" ; \ + done RUN apt-get autoremove --purge -y curl && \ apt-get update && apt-get upgrade -y && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/pushgateway/README.md b/bitnami/pushgateway/README.md index 8e0f79786e34..2dfb58266fbb 100644 --- a/bitnami/pushgateway/README.md +++ b/bitnami/pushgateway/README.md @@ -32,7 +32,7 @@ Non-root container images add an extra layer of security and are generally recom Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`1`, `1-debian-11`, `1.4.3`, `1.4.3-debian-11-r45`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/pushgateway/1/debian-11/Dockerfile) +* [`1`, `1-debian-11`, `1.4.3`, `1.4.3-debian-11-r46`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/pushgateway/1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).