From 9ceecc3d5f135776fad6355552d2bed33bc3b722 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 4 Oct 2024 11:14:03 +0200 Subject: [PATCH] [bitnami/postgresql] Release postgresql-16.4.0-debian-12-r15 (#73052) Signed-off-by: Bitnami Bot --- bitnami/postgresql/16/debian-12/Dockerfile | 6 ++-- .../debian-12/docker-compose-replication.yml | 36 +++++++++++++++++++ .../opt/bitnami/.bitnami_components.json | 2 +- .../postgresql/16/debian-12/tags-info.yaml | 1 - 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 bitnami/postgresql/16/debian-12/docker-compose-replication.yml diff --git a/bitnami/postgresql/16/debian-12/Dockerfile b/bitnami/postgresql/16/debian-12/Dockerfile index f57e04921500..d33c0e71ce4b 100644 --- a/bitnami/postgresql/16/debian-12/Dockerfile +++ b/bitnami/postgresql/16/debian-12/Dockerfile @@ -9,11 +9,11 @@ ARG WITH_ALL_LOCALES="no" LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2024-10-01T16:37:09Z" \ + org.opencontainers.image.created="2024-10-04T08:44:23Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/postgresql/README.md" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="16.4.0-debian-12-r14" \ + org.opencontainers.image.ref.name="16.4.0-debian-12-r15" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/postgresql" \ org.opencontainers.image.title="postgresql" \ org.opencontainers.image.vendor="Broadcom, Inc." \ @@ -30,7 +30,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl libbsd0 libbz2-1.0 libedit2 libffi8 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu72 libidn2-0 libldap-2.5-0 liblz4-1 liblzma5 libmd0 libncurses6 libnettle8 libp11-kit0 libpcre3 libreadline8 libsasl2-2 libsqlite3-0 libssl3 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 libzstd1 locales procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "postgresql-16.4.0-12-linux-${OS_ARCH}-debian-12" \ + "postgresql-16.4.0-13-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ diff --git a/bitnami/postgresql/16/debian-12/docker-compose-replication.yml b/bitnami/postgresql/16/debian-12/docker-compose-replication.yml new file mode 100644 index 000000000000..2fe0bc85babf --- /dev/null +++ b/bitnami/postgresql/16/debian-12/docker-compose-replication.yml @@ -0,0 +1,36 @@ +# Copyright Broadcom, Inc. All Rights Reserved. +# SPDX-License-Identifier: APACHE-2.0 + +services: + postgresql-master: + image: docker.io/bitnami/postgresql:16 + ports: + - '5432' + volumes: + - 'postgresql_master_data:/bitnami/postgresql' + environment: + - POSTGRESQL_REPLICATION_MODE=master + - POSTGRESQL_REPLICATION_USER=repl_user + - POSTGRESQL_REPLICATION_PASSWORD=repl_password + - POSTGRESQL_USERNAME=postgres + - POSTGRESQL_PASSWORD=my_password + - POSTGRESQL_DATABASE=my_database + - ALLOW_EMPTY_PASSWORD=yes + postgresql-slave: + image: docker.io/bitnami/postgresql:16 + ports: + - '5432' + depends_on: + - postgresql-master + environment: + - POSTGRESQL_REPLICATION_MODE=slave + - POSTGRESQL_REPLICATION_USER=repl_user + - POSTGRESQL_REPLICATION_PASSWORD=repl_password + - POSTGRESQL_MASTER_HOST=postgresql-master + - POSTGRESQL_PASSWORD=my_password + - POSTGRESQL_MASTER_PORT_NUMBER=5432 + - ALLOW_EMPTY_PASSWORD=yes + +volumes: + postgresql_master_data: + driver: local diff --git a/bitnami/postgresql/16/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/postgresql/16/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index 8b6baf3749bb..2e8c510f794f 100644 --- a/bitnami/postgresql/16/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/postgresql/16/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,6 +3,6 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "16.4.0-12" + "version": "16.4.0-13" } } \ No newline at end of file diff --git a/bitnami/postgresql/16/debian-12/tags-info.yaml b/bitnami/postgresql/16/debian-12/tags-info.yaml index 39acfae56d1f..4e2b6ef3144f 100644 --- a/bitnami/postgresql/16/debian-12/tags-info.yaml +++ b/bitnami/postgresql/16/debian-12/tags-info.yaml @@ -2,4 +2,3 @@ rolling-tags: - "16" - 16-debian-12 - 16.4.0 -- latest