From c2c9832423b2630adf5983bffe3d4aa380d532c2 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 7 Sep 2022 11:49:11 +0200 Subject: [PATCH] [bitnami/pushgateway] Release 1.4.3-debian-11-r35 (#5440) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/pushgateway/1/debian-11/Dockerfile | 24 +++++++++++++--------- bitnami/pushgateway/README.md | 2 +- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/bitnami/pushgateway/1/debian-11/Dockerfile b/bitnami/pushgateway/1/debian-11/Dockerfile index b124851f0f30..a33c33d18df6 100644 --- a/bitnami/pushgateway/1/debian-11/Dockerfile +++ b/bitnami/pushgateway/1/debian-11/Dockerfile @@ -1,28 +1,32 @@ FROM docker.io/bitnami/minideb:bullseye -ENV HOME="/" \ - OS_ARCH="amd64" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" + +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-r34" \ + org.opencontainers.image.ref.name="1.4.3-debian-11-r35" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/pushgateway" \ org.opencontainers.image.title="pushgateway" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.4.3" +ENV HOME="/" \ + OS_ARCH="${TARGETARCH:-amd64}" \ + OS_FLAVOUR="debian-11" \ + OS_NAME="linux" + COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl gzip procps tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f pushgateway-1.4.3-154-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/pushgateway-1.4.3-154-linux-amd64-debian-11.tar.gz -O ; \ + 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 && \ - echo "76a92a23475fe6df93707c9dd08cd36f5079b2cce34f815970899177f1089e65 pushgateway-1.4.3-154-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf pushgateway-1.4.3-154-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf pushgateway-1.4.3-154-linux-amd64-debian-11.tar.gz + 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 RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami diff --git a/bitnami/pushgateway/README.md b/bitnami/pushgateway/README.md index e3dbd834c4ad..20992e676b5c 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-r34`, `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-r35`, `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).