diff --git a/Debian/15/Dockerfile b/Debian/15/Dockerfile index ef075930..2e8cef74 100644 --- a/Debian/15/Dockerfile +++ b/Debian/15/Dockerfile @@ -1,5 +1,5 @@ # vim:set ft=dockerfile: -# +# # Copyright The CloudNativePG Contributors # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,7 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# +# FROM postgres:15.0-bullseye # Do not split the description, otherwise we will see a blank space in the labels @@ -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; \ diff --git a/Debian/update.sh b/Debian/update.sh index 655e981e..d968ee4a 100755 --- a/Debian/update.sh +++ b/Debian/update.sh @@ -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