File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ ENV UPDATES=disabled
1010RUN 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/
155155RUN chown -R postgres:postgres /var/lib/postgresql \
156- && chown postgres:postgres /etc/postgresql/10 /main/postgresql.custom.conf.tmpl \
157- && echo "\n include '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 "\n include '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
162162COPY openstreetmap-tiles-update-expire /usr/bin/
You can’t perform that action at this time.
0 commit comments