[bitnami/pgpool] Release 4.6.2-debian-12-r2 (#82598)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2025-06-26 10:16:51 +02:00
committed by GitHub
parent 157203cb7d
commit 7760d46520
5 changed files with 44 additions and 16 deletions

View File

@@ -8,10 +8,9 @@ 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-05-30T03:42:59Z" \
org.opencontainers.image.created="2025-06-26T06:29:52Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/pgpool/README.md" \
org.opencontainers.image.ref.name="4.6.2-debian-12-r1" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/pgpool" \
org.opencontainers.image.title="pgpool" \
org.opencontainers.image.vendor="Broadcom, Inc." \
@@ -26,9 +25,11 @@ COPY prebuildfs /
SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
# Install required system packages and dependencies
RUN install_packages ca-certificates curl ldap-utils libaudit1 libbsd0 libcap-ng0 libcom-err2 libcrypt1 libedit2 libffi8 libgcc-s1 libgmp10 libgnutls30 libgssapi-krb5-2 libhashkit2 libhogweed6 libicu72 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.5-0 libldap-common liblz4-1 liblzma5 libmd0 libmemcached11 libnettle8 libnss-ldapd libp11-kit0 libpam-ldapd libpam0g libpq5 libsasl2-2 libssl3 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 nslcd procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
COMPONENTS=( \
"wait-for-port-1.0.8-16-linux-${OS_ARCH}-debian-12" \
"wait-for-port-1.0.9-0-linux-${OS_ARCH}-debian-12" \
"postgresql-client-17.5.0-1-linux-${OS_ARCH}-debian-12" \
"pgpool-4.6.2-1-linux-${OS_ARCH}-debian-12" \
) ; \
@@ -45,6 +46,7 @@ RUN apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
RUN uninstall_packages curl
COPY rootfs /
RUN /opt/bitnami/scripts/pgpool/postunpack.sh

View File

@@ -15,6 +15,6 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "1.0.8-16"
"version": "1.0.9-0"
}
}

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

@@ -1,5 +1,5 @@
rolling-tags:
- "4"
- 4-debian-12
- 4.6.2
- latest
- "4"
- 4-debian-12
- 4.6.2
- latest

View File

@@ -144,7 +144,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 pgpool -U customuser -d customdatabase
```
@@ -160,7 +160,7 @@ networks:
driver: bridge
services:
pg-0:
image: bitnami/postgresql-repmgr:14
image: bitnami/postgresql-repmgr:latest
ports:
- 5432
volumes:
@@ -176,7 +176,7 @@ services:
- REPMGR_NODE_NAME=pg-0
- REPMGR_NODE_NETWORK_NAME=pg-0
pg-1:
image: bitnami/postgresql-repmgr:14
image: bitnami/postgresql-repmgr:latest
ports:
- 5432
volumes:
@@ -192,7 +192,7 @@ services:
- REPMGR_NODE_NAME=pg-1
- REPMGR_NODE_NETWORK_NAME=pg-1
pgpool:
image: bitnami/pgpool:4
image: bitnami/pgpool:latest
ports:
- 5432:5432
environment:
@@ -210,7 +210,7 @@ services:
timeout: 5s
retries: 5
myapp:
image: 'YOUR_APPLICATION_IMAGE'
image: YOUR_APPLICATION_IMAGE
networks:
- my-network
volumes:
@@ -381,7 +381,7 @@ docker-compose up -d
In order to have your custom files inside the docker image you can mount them as a volume. With docker-compose:
```diff
image: bitnami/pgpool:4
image: bitnami/pgpool:latest
ports:
- 5432:5432
+ volumes:
@@ -452,7 +452,7 @@ max_pool='300'
Run the Pgpool image, mounting a directory from your host and setting `PGPOOL_USER_CONF_FILE` and `PGPOOL_USER_HBA_FILE`. Using Docker Compose:
```diff
image: bitnami/pgpool:4
image: bitnami/pgpool:latest
ports:
- 5432:5432
+ volumes: