forked from repo-mirrors/cnpg-postgres-containers
feat: add Postgres Failover Slots extension to images (#57)
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 <gabriele.bartolini@enterprisedb.com> Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com> Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
This commit is contained in:
committed by
GitHub
parent
bb777b0757
commit
cdc7f1cf5c
@@ -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/*;
|
||||
|
||||
|
Reference in New Issue
Block a user