From baeaa7363fecceb2d3f79793a8693088e258c6c9 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Mon, 27 Dec 2021 11:26:12 +0100 Subject: [PATCH] Update Dockerfile upgrade postgis 3.2.0 + postgresql 13 --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0546d26..369d7ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN apt-get update \ FROM compiler-common AS compiler-postgis RUN apt-get install -y --no-install-recommends \ - postgresql-server-dev-14 \ + postgresql-server-dev-13 \ libxml2-dev \ libgeos-dev \ libproj-dev @@ -120,7 +120,7 @@ RUN apt-get update \ mapnik-utils \ osmium-tool \ osmosis \ - postgresql-12 \ + postgresql-13 \ python-is-python3 \ python3-mapnik \ python3-lxml \ @@ -166,11 +166,11 @@ RUN mkdir /nodes \ && chown renderer:renderer /nodes # Configure PosgtreSQL -COPY postgresql.custom.conf.tmpl /etc/postgresql/12/main/ +COPY postgresql.custom.conf.tmpl /etc/postgresql/13/main/ RUN chown -R postgres:postgres /var/lib/postgresql \ -&& chown postgres:postgres /etc/postgresql/12/main/postgresql.custom.conf.tmpl \ -&& echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/12/main/pg_hba.conf \ -&& echo "host all all ::/0 md5" >> /etc/postgresql/12/main/pg_hba.conf +&& chown postgres:postgres /etc/postgresql/13/main/postgresql.custom.conf.tmpl \ +&& echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/13/main/pg_hba.conf \ +&& echo "host all all ::/0 md5" >> /etc/postgresql/13/main/pg_hba.conf ###########################################################################################################