chore: raise PostgreSQL new beta version check to 16 (#40)

Closes #37

Signed-off-by: Jonathan Gonzalez V <jonathan.abdiel@gmail.com>
Co-authored-by: EnterpriseDB Automated Updates <noreply@enterprisedb.com>
This commit is contained in:
Jonathan Gonzalez V
2022-10-18 08:03:56 +01:00
committed by GitHub
parent 41395898d0
commit 407e534cc6
2 changed files with 11 additions and 3 deletions

View File

@@ -26,6 +26,14 @@ LABEL name="PostgreSQL Container Images" \
COPY requirements.txt /
# Install pgaudit
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; \

View File

@@ -134,7 +134,7 @@ generate_postgres() {
fi
dockerTemplate="Dockerfile.template"
if [ "${version}" -gt '14' ]; then
if [ "${version}" -gt '15' ]; then
dockerTemplate="Dockerfile-beta.template"
fi