From d0ef238ebabb4f320d2905dc9fa5c84464461d37 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Tue, 18 Oct 2022 07:38:11 +0200 Subject: [PATCH] [bitnami/postgresql-repmgr] Release 10.22.0-debian-11-r29 (#10503) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/postgresql-repmgr/10/debian-11/Dockerfile | 6 +++--- .../prebuildfs/opt/bitnami/.bitnami_components.json | 4 ++-- .../debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh | 2 +- .../debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh | 2 ++ bitnami/postgresql-repmgr/README.md | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/bitnami/postgresql-repmgr/10/debian-11/Dockerfile b/bitnami/postgresql-repmgr/10/debian-11/Dockerfile index 714d2b9e6c93..2816b36812ec 100644 --- a/bitnami/postgresql-repmgr/10/debian-11/Dockerfile +++ b/bitnami/postgresql-repmgr/10/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="10.22.0-debian-11-r28" \ + org.opencontainers.image.ref.name="10.22.0-debian-11-r29" \ 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 libcrypt1 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 libcrypt1 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-10.22.0-12-linux-${OS_ARCH}-debian-11" \ + "postgresql-repmgr-10.22.0-13-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/10/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/postgresql-repmgr/10/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index cc1014c6d17c..85818f0b73fe 100644 --- a/bitnami/postgresql-repmgr/10/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/postgresql-repmgr/10/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -8,9 +8,9 @@ }, "postgresql-repmgr": { "arch": "amd64", - "digest": "2f35d684d86e9ba06f00af9c1926355fdac73df33590f60dd206ad88537daeb6", + "digest": "aae11f8d3bc499fc7f175f594c85ed519da3b0a8769ad66f36134d87573b1682", "distro": "debian-11", "type": "NAMI", - "version": "10.22.0-12" + "version": "10.22.0-13" } } \ No newline at end of file diff --git a/bitnami/postgresql-repmgr/10/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql-repmgr/10/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh index 34af0fd19b47..f2694a2df06a 100644 --- a/bitnami/postgresql-repmgr/10/debian-11/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql-repmgr/10/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/10/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh b/bitnami/postgresql-repmgr/10/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh index 39ff8fc10c9e..db0495db22e2 100644 --- a/bitnami/postgresql-repmgr/10/debian-11/rootfs/opt/bitnami/scripts/postgresql-env.sh +++ b/bitnami/postgresql-repmgr/10/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" diff --git a/bitnami/postgresql-repmgr/README.md b/bitnami/postgresql-repmgr/README.md index b5708eed130d..6b554b2361a7 100644 --- a/bitnami/postgresql-repmgr/README.md +++ b/bitnami/postgresql-repmgr/README.md @@ -652,7 +652,7 @@ $ docker-compose up pg-1 ## Contributing -We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues), or submit a [pull request](https://github.com/bitnami/containers/pulls) with your contribution. +We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution. ## Issues