[bitnami/postgresql-repmgr] Release 17.5.0-debian-12-r8 (#82220)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2025-06-11 21:14:52 +02:00
committed by GitHub
parent 2c758dbfed
commit 405a902862
4 changed files with 38 additions and 11 deletions

View File

@@ -8,10 +8,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2025-06-03T15:43:39Z" \
org.opencontainers.image.created="2025-06-11T18:47:00Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/README.md" \
org.opencontainers.image.ref.name="17.5.0-debian-12-r7" \
org.opencontainers.image.ref.name="17.5.0-debian-12-r8" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr" \
org.opencontainers.image.title="postgresql-repmgr" \
org.opencontainers.image.vendor="Broadcom, Inc." \
@@ -28,7 +28,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl libbrotli1 libbsd0 libcom-err2 libcurl4 libedit2 libffi8 libgcc-s1 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed6 libicu72 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.5-0 liblz4-1 liblzma5 libmd0 libnettle8 libnghttp2-14 libp11-kit0 libpcre3 libpsl5 libreadline8 librtmp1 libsasl2-2 libsqlite3-0 libssh2-1 libssl3 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 libzstd1 locales procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
COMPONENTS=( \
"postgresql-repmgr-17.5.0-5-linux-${OS_ARCH}-debian-12" \
"postgresql-repmgr-17.5.0-7-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -47,6 +47,7 @@ RUN update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX && \
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales && \
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
RUN echo 'en_GB.UTF-8 UTF-8' >> /etc/locale.gen
RUN uninstall_packages curl
COPY rootfs /
RUN /opt/bitnami/scripts/postgresql-repmgr/postunpack.sh

View File

@@ -3,6 +3,6 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "17.5.0-5"
"version": "17.5.0-7"
}
}

View File

@@ -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

View File

@@ -125,7 +125,7 @@ Finally we create a new container instance to launch the PostgreSQL client and c
```console
docker run -it --rm \
--network my-network \
bitnami/postgresql:10 \
bitnami/postgresql:latest \
psql -h pg-0 -U postgres
```
@@ -142,7 +142,7 @@ networks:
services:
pg-0:
image: 'bitnami/postgresql-repmgr:latest'
image: bitnami/postgresql-repmgr:latest
networks:
- my-network
environment:
@@ -153,7 +153,7 @@ services:
- REPMGR_NODE_NAME=pg-0
- REPMGR_PARTNER_NODES=pg-0
myapp:
image: 'YOUR_APPLICATION_IMAGE'
image: YOUR_APPLICATION_IMAGE
networks:
- my-network
```
@@ -385,13 +385,13 @@ services:
pg-0:
image: bitnami/postgresql-repmgr:latest
ports:
- '5432:5432'
- 5432:5432
volumes:
- /path/to/custom-conf/:/bitnami/repmgr/conf/
pg-1:
image: bitnami/postgresql-repmgr:latest
ports:
- '5432:5432'
- 5432:5432
volumes:
- /path/to/custom-conf/:/bitnami/repmgr/conf/
```
@@ -473,14 +473,14 @@ services:
pg-0:
image: bitnami/postgresql-repmgr:latest
ports:
- '5432:5432'
- 5432:5432
volumes:
- /path/to/extra-custom-conf/:/bitnami/postgresql/conf/conf.d/
- /path/to/custom-conf/:/bitnami/repmgr/conf/
pg-1:
image: bitnami/postgresql-repmgr:latest
ports:
- '5432:5432'
- 5432:5432
volumes:
- /path/to/extra-custom-conf/:/bitnami/postgresql/conf/conf.d/
- /path/to/custom-conf/:/bitnami/repmgr/conf/