From 85b510f01496e622ac95fd24c49c0dcacfbcbc9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Wed, 9 Aug 2023 17:20:48 +0200 Subject: [PATCH] chore: add PgAudit to PG 16 beta image (#63) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Niccolò Fei --- Debian/Dockerfile-beta.template | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Debian/Dockerfile-beta.template b/Debian/Dockerfile-beta.template index f0d3e052..5e0a66b4 100644 --- a/Debian/Dockerfile-beta.template +++ b/Debian/Dockerfile-beta.template @@ -26,6 +26,15 @@ LABEL name="PostgreSQL Container Images" \ COPY requirements.txt / +# Install additional extensions +RUN set -xe; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + "postgresql-${PG_MAJOR}-pgaudit" \ + ; \ + rm -fr /tmp/* ; \ + rm -rf /var/lib/apt/lists/*; + # Install barman-cloud RUN set -xe; \ apt-get update; \