From cdc7f1cf5cc34112d7974165432d355c56c39a41 Mon Sep 17 00:00:00 2001 From: Gabriele Bartolini Date: Fri, 19 May 2023 16:33:43 +0200 Subject: [PATCH] feat: add Postgres Failover Slots extension to images (#57) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the pg-failover-slots extension released by EnterpriseDB under the PostgreSQL License to the default container images for all supported Postgres versions. URL: https://github.com/EnterpriseDB/pg_failover_slots Closes #56 Signed-off-by: Gabriele Bartolini Signed-off-by: Niccolò Fei Co-authored-by: Niccolò Fei --- Debian/Dockerfile.template | 6 ++++-- README.md | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Debian/Dockerfile.template b/Debian/Dockerfile.template index a266b567..9a47430b 100644 --- a/Debian/Dockerfile.template +++ b/Debian/Dockerfile.template @@ -28,11 +28,13 @@ LABEL org.opencontainers.image.description="This Docker image contains PostgreSQ COPY requirements.txt / -# Install pgaudit +# Install additional extensions RUN set -xe; \ apt-get update; \ apt-get install -y --no-install-recommends \ - "postgresql-${PG_MAJOR}-pgaudit" ;\ + "postgresql-${PG_MAJOR}-pgaudit" \ + "postgresql-${PG_MAJOR}-pg-failover-slots" \ + ; \ rm -fr /tmp/* ; \ rm -rf /var/lib/apt/lists/*; diff --git a/README.md b/README.md index cec5382d..2bf72476 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ by adding the following software: - Barman Cloud - PGAudit +- Postgres Failover Slots Barman Cloud is distributed by EnterpriseDB under the [GNU GPL 3 License](https://github.com/EnterpriseDB/barman/blob/master/LICENSE). @@ -18,6 +19,9 @@ Barman Cloud is distributed by EnterpriseDB under the PGAudit is distributed under the [PostgreSQL License](https://github.com/pgaudit/pgaudit/blob/master/LICENSE). +Postgres Failover Slots is distributed by EnterpriseDB under the +[PostgreSQL License](https://github.com/EnterpriseDB/pg_failover_slots/blob/master/LICENSE). + Images are available via [GitHub Container Registry](https://github.com/cloudnative-pg/postgres-containers/pkgs/container/postgresql).