Skip to content

Commit 626158f

Browse files
committed
Fix remaining references to PostgreSQL 10
1 parent ca1626a commit 626158f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ENV UPDATES=disabled
1010
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
1111

1212
# Install dependencies
13-
RUN apt-get update \
14-
&& apt-get install wget gnupg2 lsb-core -y \
13+
RUN apt-get update \
14+
&& apt-get install wget gnupg2 lsb-core -y \
1515
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
1616
&& echo "deb [ trusted=yes ] http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \
1717
&& apt-get update \
@@ -151,12 +151,12 @@ RUN ln -sf /dev/stdout /var/log/apache2/access.log \
151151
&& ln -sf /dev/stderr /var/log/apache2/error.log
152152

153153
# Configure PosgtreSQL
154-
COPY postgresql.custom.conf.tmpl /etc/postgresql/10/main/
154+
COPY postgresql.custom.conf.tmpl /etc/postgresql/12/main/
155155
RUN chown -R postgres:postgres /var/lib/postgresql \
156-
&& chown postgres:postgres /etc/postgresql/10/main/postgresql.custom.conf.tmpl \
157-
&& echo "\ninclude 'postgresql.custom.conf'" >> /etc/postgresql/10/main/postgresql.conf
158-
RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/10/main/pg_hba.conf \
159-
&& echo "host all all ::/0 md5" >> /etc/postgresql/10/main/pg_hba.conf
156+
&& chown postgres:postgres /etc/postgresql/12/main/postgresql.custom.conf.tmpl \
157+
&& echo "\ninclude 'postgresql.custom.conf'" >> /etc/postgresql/12/main/postgresql.conf
158+
RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/12/main/pg_hba.conf \
159+
&& echo "host all all ::/0 md5" >> /etc/postgresql/12/main/pg_hba.conf
160160

161161
# copy update scripts
162162
COPY openstreetmap-tiles-update-expire /usr/bin/

0 commit comments

Comments
 (0)