PGSQL v17

This commit is contained in:
Florian Stosse
2025-08-29 12:53:14 +02:00
parent bc5727aeef
commit ff2b38aa1e

View File

@@ -8,10 +8,9 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates gnupg lsb-release locales \
wget curl \
git-core unzip unrar \
git-core unzip unrar postgresql-common \
&& locale-gen $LANG && update-locale LANG=$LANG \
&& sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh \
&& apt-get update && apt-get -y upgrade\
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
@@ -48,7 +47,7 @@ ENV AUTOVACUUM=on
ENV UPDATES=enabled
ENV REPLICATION_URL=https://planet.openstreetmap.org/replication/hour/
ENV MAX_INTERVAL_SECONDS=3600
ENV PG_VERSION 18
ENV PG_VERSION 17
RUN ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" > /etc/timezone