diff --git a/bitnami/pgpool/4/debian-11/Dockerfile b/bitnami/pgpool/4/debian-11/Dockerfile index 039bacfcbcc1..52830fb64587 100644 --- a/bitnami/pgpool/4/debian-11/Dockerfile +++ b/bitnami/pgpool/4/debian-11/Dockerfile @@ -9,10 +9,10 @@ ENV HOME="/" \ COPY prebuildfs / # Install required system packages and dependencies RUN install_packages acl ca-certificates curl gzip ldap-utils libaudit1 libbsd0 libc6 libcap-ng0 libcrypt1 libedit2 libffi7 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu67 libidn2-0 libldap-2.4-2 libldap-common liblzma5 libmd0 libnettle8 libnss-ldapd libp11-kit0 libpam-ldapd libpam0g libsasl2-2 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 nslcd procps tar zlib1g -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-client" "10.21.0-0" --checksum c9d6f09bac47484b4d4aaec3d48018c46d4102fb35abebeb62ef7a3496125e4c -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.3-0" --checksum 1013e2ebbe58e5dc8f3c79fc952f020fc5306ba48463803cacfbed7779173924 -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "pgpool" "4.3.2-0" --checksum bf6e5f6c27288b1259fdf5ff10bacbc27d246201e1d6189a57044c4f1c982b93 -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum da4a2f759ccc57c100d795b71ab297f48b31c4dd7578d773d963bbd49c42bd7b +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-client" "10.21.0-150" --checksum c9d6f09bac47484b4d4aaec3d48018c46d4102fb35abebeb62ef7a3496125e4c +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.3-150" --checksum 1013e2ebbe58e5dc8f3c79fc952f020fc5306ba48463803cacfbed7779173924 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "pgpool" "4.3.2-150" --checksum bf6e5f6c27288b1259fdf5ff10bacbc27d246201e1d6189a57044c4f1c982b93 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-150" --checksum da4a2f759ccc57c100d795b71ab297f48b31c4dd7578d773d963bbd49c42bd7b 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/pgpool/4/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/pgpool/4/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index d0555b0216da..d3202ba207b1 100644 --- a/bitnami/pgpool/4/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/pgpool/4/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -4,27 +4,27 @@ "digest": "da4a2f759ccc57c100d795b71ab297f48b31c4dd7578d773d963bbd49c42bd7b", "distro": "debian-11", "type": "NAMI", - "version": "1.14.0-0" + "version": "1.14.0-150" }, "pgpool": { "arch": "amd64", "digest": "bf6e5f6c27288b1259fdf5ff10bacbc27d246201e1d6189a57044c4f1c982b93", "distro": "debian-11", "type": "NAMI", - "version": "4.3.2-0" + "version": "4.3.2-150" }, "postgresql-client": { "arch": "amd64", "digest": "c9d6f09bac47484b4d4aaec3d48018c46d4102fb35abebeb62ef7a3496125e4c", "distro": "debian-11", "type": "NAMI", - "version": "10.21.0-0" + "version": "10.21.0-150" }, "wait-for-port": { "arch": "amd64", "digest": "1013e2ebbe58e5dc8f3c79fc952f020fc5306ba48463803cacfbed7779173924", "distro": "debian-11", "type": "NAMI", - "version": "1.0.3-0" + "version": "1.0.3-150" } } \ No newline at end of file diff --git a/bitnami/pgpool/4/debian-11/rootfs/opt/bitnami/scripts/libpgpool.sh b/bitnami/pgpool/4/debian-11/rootfs/opt/bitnami/scripts/libpgpool.sh index 8122a2319d92..ed11e95b5140 100644 --- a/bitnami/pgpool/4/debian-11/rootfs/opt/bitnami/scripts/libpgpool.sh +++ b/bitnami/pgpool/4/debian-11/rootfs/opt/bitnami/scripts/libpgpool.sh @@ -250,7 +250,7 @@ pgpool_validate() { print_validation_error "The values allowed for PGPOOL_AUTHENTICATION_METHOD: md5,scram-sha-256" fi - # check for required environment variables for scram-sha-256 based authentication + # check for required environment variables for scram-sha-256 based authentication if [[ "$PGPOOL_AUTHENTICATION_METHOD" = "scram-sha-256" ]]; then # If scram-sha-256 is enabled, pg_pool_password cannot be disabled if ! is_boolean_yes "$PGPOOL_ENABLE_POOL_PASSWD"; then @@ -298,8 +298,8 @@ pgpool_healthcheck() { # look up backends that are marked offline for node in $(echo "${backends}" | grep "down" | tr -d ' '); do IFS="|" read -ra node_info <<< "$node" - local -r node_id="${node_info[0]}" - local -r node_host="${node_info[1]}" + local node_id="${node_info[0]}" + local node_host="${node_info[1]}" if [[ $(PGCONNECT_TIMEOUT=3 PGPASSWORD="${PGPOOL_POSTGRES_PASSWORD}" psql -U "${PGPOOL_POSTGRES_USERNAME}" \ -d postgres -h "${node_host}" -p "${PGPOOL_PORT_NUMBER}" -tA -c "SELECT 1" || true) == 1 ]]; then # attach backend if it has come back online @@ -547,7 +547,7 @@ pgpool_generate_password_file() { if [[ "$PGPOOL_AUTHENTICATION_METHOD" = "scram-sha-256" ]]; then - if is_file_writable "$PGPOOLKEYFILE"; then + if is_file_writable "$PGPOOLKEYFILE"; then # Creating a PGPOOLKEYFILE as it is writeable echo "$PGPOOL_AES_KEY" > "$PGPOOLKEYFILE" # Fix permissions for PGPOOLKEYFILE diff --git a/bitnami/pgpool/README.md b/bitnami/pgpool/README.md index 6847cd584388..f123b7a9f9d6 100644 --- a/bitnami/pgpool/README.md +++ b/bitnami/pgpool/README.md @@ -43,7 +43,7 @@ Non-root container images add an extra layer of security and are generally recom Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`4`, `4-debian-11`, `4.3.2`, `4.3.2-debian-11-r4`, `latest` (4/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgpool/blob/4.3.2-debian-11-r4/4/debian-11/Dockerfile) +* [`4`, `4-debian-11`, `4.3.2`, `4.3.2-debian-11-r5`, `latest` (4/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgpool/blob/4.3.2-debian-11-r5/4/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/pgpool GitHub repo](https://github.com/bitnami/bitnami-docker-pgpool).