diff --git a/bitnami/postgresql-repmgr/14/debian-11/Dockerfile b/bitnami/postgresql-repmgr/14/debian-11/Dockerfile index ba76cc9d2244..d54b130dbc25 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-r25" \ + org.opencontainers.image.ref.name="14.5.0-debian-11-r26" \ 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." \ @@ -18,10 +18,10 @@ ENV HOME="/" \ COPY prebuildfs / 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 install_packages ca-certificates curl libbsd0 libedit2 libffi7 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu67 libidn2-0 libldap-2.4-2 liblz4-1 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/ && \ COMPONENTS=( \ - "postgresql-repmgr-14.5.0-11-linux-${OS_ARCH}-debian-11" \ + "postgresql-repmgr-14.5.0-12-linux-${OS_ARCH}-debian-11" \ "gosu-1.14.0-155-linux-${OS_ARCH}-debian-11" \ ) && \ for COMPONENT in "${COMPONENTS[@]}"; do \ 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 3ec0fbcb11fb..1af0e12c886b 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 @@ -8,9 +8,9 @@ }, "postgresql-repmgr": { "arch": "amd64", - "digest": "893cd7298f3d1e9624f498371fb97429dfe10974e29fe01ef4825715d9c5918c", + "digest": "dee023ac858c491ba59470406d6a390f01a2c7997b7dee9393514365a636ae9a", "distro": "debian-11", "type": "NAMI", - "version": "14.5.0-11" + "version": "14.5.0-12" } } \ No newline at end of file diff --git a/bitnami/postgresql-repmgr/14/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql-repmgr/14/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh index 34af0fd19b47..f2694a2df06a 100644 --- a/bitnami/postgresql-repmgr/14/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql-repmgr/14/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -603,7 +603,7 @@ postgresql_initialize() { is_boolean_yes "$POSTGRESQL_ALLOW_REMOTE_CONNECTIONS" && is_boolean_yes "$create_pghba_file" && postgresql_create_pghba && postgresql_allow_local_connection # Configure port postgresql_set_property "port" "$POSTGRESQL_PORT_NUMBER" - + is_empty_value "$POSTGRESQL_DEFAULT_TOAST_COMPRESSION" || postgresql_set_property "default_toast_compression" "$POSTGRESQL_DEFAULT_TOAST_COMPRESSION" if ! is_dir_empty "$POSTGRESQL_DATA_DIR"; then info "Deploying PostgreSQL with persisted data..." export POSTGRESQL_FIRST_BOOT="no" diff --git a/bitnami/postgresql-repmgr/14/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh b/bitnami/postgresql-repmgr/14/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh index 39ff8fc10c9e..db0495db22e2 100644 --- a/bitnami/postgresql-repmgr/14/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh +++ b/bitnami/postgresql-repmgr/14/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh @@ -87,6 +87,7 @@ postgresql_env_vars=( POSTGRESQL_USERNAME_CONNECTION_LIMIT POSTGRESQL_POSTGRES_CONNECTION_LIMIT POSTGRESQL_WAL_LEVEL + POSTGRESQL_DEFAULT_TOAST_COMPRESSION POSTGRESQL_AUTOCTL_CONF_DIR POSTGRESQL_AUTOCTL_MODE POSTGRESQL_AUTOCTL_MONITOR_HOST @@ -352,6 +353,7 @@ export POSTGRESQL_USERNAME_CONNECTION_LIMIT="${POSTGRESQL_USERNAME_CONNECTION_LI POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-"${POSTGRES_POSTGRES_CONNECTION_LIMIT:-}"}" export POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-}" export POSTGRESQL_WAL_LEVEL="${POSTGRESQL_WAL_LEVEL:-replica}" +export POSTGRESQL_DEFAULT_TOAST_COMPRESSION="${POSTGRESQL_DEFAULT_TOAST_COMPRESSION:-}" # pgAutoFailover settings export POSTGRESQL_AUTOCTL_VOLUME_DIR="${POSTGRESQL_VOLUME_DIR}/pgautoctl"