Update Dockerfile
upgrade postgis 3.2.0 + postgresql 13
This commit is contained in:
parent
e46a30fb1d
commit
baeaa7363f
12
Dockerfile
12
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
|
||||
|
||||
###########################################################################################################
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user