|
@@ -14,7 +14,7 @@ RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-k
|
|
|
RUN apt-get -yqq update > /dev/null
|
|
|
RUN apt-get -yqq install locales
|
|
|
|
|
|
-ENV PG_VERSION 13
|
|
|
+ENV PG_VERSION 14
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
ENV LANG en_US.UTF-8
|
|
|
ENV LANGUAGE en_US:en
|
|
@@ -25,6 +25,7 @@ ENV DEBIAN_FRONTEND noninteractive
|
|
|
RUN apt-get -yqq install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postgresql-${PG_VERSION} postgresql-contrib-${PG_VERSION}
|
|
|
|
|
|
# Make sure all the configuration files in main belong to postgres
|
|
|
+RUN sed -i "s|PG_VERSION|${PG_VERSION}|g" postgresql.conf
|
|
|
RUN mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf
|
|
|
RUN mv pg_hba.conf /etc/postgresql/${PG_VERSION}/main/pg_hba.conf
|
|
|
|