diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a3023b12da07c5978ff1c09416ad0fa5881d17d4..42ee3538f464d1568e1a17b4de18561f14ec36f5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,6 +20,11 @@ Fixed * View for assigning permissions didn't work with some global permissions. * PDFs generated in background didn't contain logo or site title. +Changed +~~~~~~~ + +* Docker base image ships PostgreSQL 14 client binaries for maximum compatibility + `2.2.1_ – 2021-12-02 -------------------- diff --git a/Dockerfile b/Dockerfile index a44a0ce8021f06d34e39c7d6c594602cb623f690..d26f09b2ac61d657a1a04f190c79550e9ecea38d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,17 +22,17 @@ ENV ALEKSIS_dev__uwsgi__celery false # Install necessary Debian and PyPI packages for build and runtime RUN apt-get -y update && \ - apt-get -y install eatmydata && \ + apt-get -y install eatmydata gnupg postgresql-common && \ + /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && \ eatmydata apt-get -y upgrade && \ eatmydata apt-get install -y --no-install-recommends \ build-essential \ chromium \ dumb-init \ gettext \ - libpq5 \ libpq-dev \ libssl-dev \ - postgresql-client \ + postgresql-client-14 \ python3-dev \ python3-magic \ python3-pip \ @@ -76,6 +76,7 @@ RUN set -e; \ eatmydata apt-get remove --purge -y \ build-essential \ gettext \ + gnupg \ libpq-dev \ libssl-dev \ libldap2-dev \