From f4252084b98d30d2e476e548a263acc3a0c62656 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Tue, 30 Dec 2025 12:12:42 +0100 Subject: [PATCH] [bitnami/pgpool] Release 4.7.0-debian-12-r1 (#89192) Signed-off-by: Bitnami Bot --- bitnami/pgpool/4/debian-12/Dockerfile | 4 ++-- .../4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh | 3 +++ .../4/debian-12/rootfs/opt/bitnami/scripts/pgpool-env.sh | 2 ++ bitnami/pgpool/README.md | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bitnami/pgpool/4/debian-12/Dockerfile b/bitnami/pgpool/4/debian-12/Dockerfile index 9ae05aeb7207..e9fa3821c4d9 100644 --- a/bitnami/pgpool/4/debian-12/Dockerfile +++ b/bitnami/pgpool/4/debian-12/Dockerfile @@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-12-23T06:15:52Z" \ + org.opencontainers.image.created="2025-12-30T11:04:28Z" \ 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.source="https://github.com/bitnami/containers/tree/main/bitnami/pgpool" \ @@ -51,7 +51,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/pgpool/postunpack.sh ENV APP_VERSION="4.7.0" \ BITNAMI_APP_NAME="pgpool" \ - IMAGE_REVISION="0" \ + IMAGE_REVISION="1" \ LD_LIBRARY_PATH="/opt/bitnami/common/lib:/opt/bitnami/common/lib64:$LD_LIBRARY_PATH" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/postgresql/bin:/opt/bitnami/pgpool/bin:/opt/bitnami/common/sbin:$PATH" diff --git a/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh b/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh index c26058877f65..f7d2368a1c1d 100644 --- a/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh +++ b/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh @@ -365,6 +365,9 @@ pgpool_create_config() { # ref: http://www.pgpool.net/docs/latest/en/html/configuring-pgpool.html cp "${PGPOOL_BASE_DIR}/etc/pgpool.conf.sample" "$PGPOOL_CONF_FILE" + # Working directory + pgpool_set_property "work_dir" "$PGPOOL_WORK_DIR" + # Connection settings # ref: http://www.pgpool.net/docs/latest/en/html/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS pgpool_set_property "listen_addresses" "*" diff --git a/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/pgpool-env.sh b/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/pgpool-env.sh index b868fe5e38fe..04d7611ea676 100644 --- a/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/pgpool-env.sh +++ b/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/pgpool-env.sh @@ -24,6 +24,7 @@ export BITNAMI_DEBUG="${BITNAMI_DEBUG:-false}" # By setting an environment variable matching *_FILE to a file path, the prefixed environment # variable will be overridden with the value specified in that file pgpool_env_vars=( + PGPOOL_WORK_DIR PGPOOL_USER_CONF_FILE PGPOOL_USER_HBA_FILE PGPOOL_PASSWD_FILE @@ -98,6 +99,7 @@ export PGPOOL_DEFAULT_ETC_DIR="${PGPOOL_BASE_DIR}/etc.default" export PGPOOL_ETC_DIR="${PGPOOL_BASE_DIR}/etc" export PGPOOL_LOG_DIR="${PGPOOL_BASE_DIR}/logs" export PGPOOL_TMP_DIR="${PGPOOL_BASE_DIR}/tmp" +export PGPOOL_WORK_DIR="${PGPOOL_WORK_DIR:-/tmp}" export PGPOOL_INITSCRIPTS_DIR="/docker-entrypoint-initdb.d" export PGPOOL_CONF_FILE="${PGPOOL_CONF_DIR}/pgpool.conf" export PGPOOL_PCP_CONF_FILE="${PGPOOL_ETC_DIR}/pcp.conf" diff --git a/bitnami/pgpool/README.md b/bitnami/pgpool/README.md index 4a58423f44fc..a3dffa5b935f 100644 --- a/bitnami/pgpool/README.md +++ b/bitnami/pgpool/README.md @@ -457,6 +457,7 @@ This command will prompt for a password, this password is the one set in the env | Name | Description | Default Value | |------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------| +| `PGPOOL_WORK_DIR` | Pgpool-II working directory. | `/tmp` | | `PGPOOL_USER_CONF_FILE` | Custom Pgpool-II configuration file to be appended at Pgpool-II configuration file. | `nil` | | `PGPOOL_USER_HBA_FILE` | Custom Pgpool-II host-based authentication configuration to be appended to Pgpool-II host-based authentication configuration file. | `nil` | | `PGPOOL_PASSWD_FILE` | Pgpool-II pool password file. | `pool_passwd` |