From ff2b38aa1ea0a484b897b94ae001f50cbd58baf9 Mon Sep 17 00:00:00 2001 From: Florian Stosse Date: Fri, 29 Aug 2025 12:53:14 +0200 Subject: [PATCH] PGSQL v17 --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcc30f4..f47a42c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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