From 3a97dbcc5977d92bb0788a5a0a9fad1634ea1bdf Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 7 Oct 2022 10:44:11 +0200 Subject: [PATCH] [bitnami/postgresql-repmgr] Release 14.5.0-debian-11-r22 (#9342) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers Signed-off-by: Fran Mulero Co-authored-by: Fran Mulero --- .../postgresql-repmgr/14/debian-11/Dockerfile | 30 +++++++++---------- .../opt/bitnami/.bitnami_components.json | 8 ++--- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/bitnami/postgresql-repmgr/14/debian-11/Dockerfile b/bitnami/postgresql-repmgr/14/debian-11/Dockerfile index 306ba7674ec9..cc66421859fb 100644 --- a/bitnami/postgresql-repmgr/14/debian-11/Dockerfile +++ b/bitnami/postgresql-repmgr/14/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="14.5.0-debian-11-r21" \ + org.opencontainers.image.ref.name="14.5.0-debian-11-r22" \ 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." \ @@ -20,21 +20,19 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl libbsd0 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 zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f postgresql-repmgr-14.5.0-10-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-14.5.0-10-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-14.5.0-10-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c postgresql-repmgr-14.5.0-10-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf postgresql-repmgr-14.5.0-10-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf postgresql-repmgr-14.5.0-10-linux-${OS_ARCH}-debian-11.tar.gz postgresql-repmgr-14.5.0-10-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - 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 && \ - 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 gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 + COMPONENTS=( \ + "postgresql-repmgr-14.5.0-11-linux-${OS_ARCH}-debian-11" \ + "gosu-1.14.0-155-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/postgresql-repmgr/14/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/postgresql-repmgr/14/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index b59ac896e773..3ec0fbcb11fb 100644 --- a/bitnami/postgresql-repmgr/14/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/postgresql-repmgr/14/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,16 +1,16 @@ { "gosu": { "arch": "amd64", - "digest": "e36c3d90f4fbfbe989f40947fa7c8ab817f12fcf97d3aef893c753a20ce976ab", + "digest": "f21869b27c26b9c3053bce8b419a0fdf1dc45fcf13a7c2058e0afb6996d3687f", "distro": "debian-11", "type": "NAMI", - "version": "1.14.0-154" + "version": "1.14.0-155" }, "postgresql-repmgr": { "arch": "amd64", - "digest": "0703e57b0d798abaa7305371be7e9235bc6f236d25ec449a17dd64545ffe5293", + "digest": "893cd7298f3d1e9624f498371fb97429dfe10974e29fe01ef4825715d9c5918c", "distro": "debian-11", "type": "NAMI", - "version": "14.5.0-10" + "version": "14.5.0-11" } } \ No newline at end of file