From c8f9e8a069779d4f7caf87ce50a0af6cc52069da Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 8 Sep 2022 07:01:53 +0200 Subject: [PATCH] [bitnami/postgresql-repmgr] Release 10.22.0-debian-11-r11 (#5557) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- .../postgresql-repmgr/10/debian-11/Dockerfile | 35 +++++++++++-------- bitnami/postgresql-repmgr/README.md | 2 +- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/bitnami/postgresql-repmgr/10/debian-11/Dockerfile b/bitnami/postgresql-repmgr/10/debian-11/Dockerfile index ee5ef8dc6d17..664f3cceadee 100644 --- a/bitnami/postgresql-repmgr/10/debian-11/Dockerfile +++ b/bitnami/postgresql-repmgr/10/debian-11/Dockerfile @@ -1,35 +1,40 @@ 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="10.22.0-debian-11-r10" \ + org.opencontainers.image.ref.name="10.22.0-debian-11-r11" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr" \ org.opencontainers.image.title="postgresql-repmgr" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="10.22.0" +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 acl ca-certificates curl gzip libbsd0 libc6 libcrypt1 libedit2 libffi7 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu67 libidn2-0 libldap-2.4-2 liblzma5 libmd0 libnettle8 libp11-kit0 libpcre3 libreadline8 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 locales procps tar zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f postgresql-repmgr-10.22.0-6-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-10.22.0-6-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f postgresql-repmgr-10.22.0-6-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-10.22.0-6-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-10.22.0-6-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "84c8e153b7334df556c55ad241f10d48113d97ba1c68d846530143e569b338d8 postgresql-repmgr-10.22.0-6-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf postgresql-repmgr-10.22.0-6-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf postgresql-repmgr-10.22.0-6-linux-amd64-debian-11.tar.gz + sha256sum -c postgresql-repmgr-10.22.0-6-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf postgresql-repmgr-10.22.0-6-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf postgresql-repmgr-10.22.0-6-linux-${OS_ARCH}-debian-11.tar.gz RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f gosu-1.14.0-154-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "e36c3d90f4fbfbe989f40947fa7c8ab817f12fcf97d3aef893c753a20ce976ab gosu-1.14.0-154-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf gosu-1.14.0-154-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf gosu-1.14.0-154-linux-amd64-debian-11.tar.gz + sha256sum -c gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf gosu-1.14.0-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/postgresql-repmgr/README.md b/bitnami/postgresql-repmgr/README.md index e0cd055fc631..a48424f91333 100644 --- a/bitnami/postgresql-repmgr/README.md +++ b/bitnami/postgresql-repmgr/README.md @@ -51,7 +51,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`13`, `13-debian-11`, `13.8.0`, `13.8.0-debian-11-r10` (13/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/13/debian-11/Dockerfile) * [`12`, `12-debian-11`, `12.12.0`, `12.12.0-debian-11-r11` (12/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/12/debian-11/Dockerfile) * [`11`, `11-debian-11`, `11.17.0`, `11.17.0-debian-11-r11` (11/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/11/debian-11/Dockerfile) -* [`10`, `10-debian-11`, `10.22.0`, `10.22.0-debian-11-r10` (10/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/10/debian-11/Dockerfile) +* [`10`, `10-debian-11`, `10.22.0`, `10.22.0-debian-11-r11` (10/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/10/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).