Bump default db service to 17

This commit is contained in:
Oliver Günther
2025-11-06 11:37:27 +01:00
parent 195e3da18f
commit 3b50096b91
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ FROM debian:12
RUN apt-get update -qq && apt-get install wget gnupg2 -y && rm -rf /var/lib/apt/lists/*
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
RUN echo "deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list
RUN apt-get update -qq && apt-get install postgresql-9.6 postgresql-10 postgresql-13 -y && rm -rf /var/lib/apt/lists/*
RUN apt-get update -qq && apt-get install postgresql-13 postgresql-17 -y && rm -rf /var/lib/apt/lists/*
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8

View File

@@ -3,7 +3,7 @@ set -e
set -o pipefail
CURRENT_PGVERSION="$(cat $PGDATA/PG_VERSION)"
NEW_PGVERSION="13"
NEW_PGVERSION="17"
PGWORKDIR=${PGWORKDIR:=/var/lib/postgresql/work}
if [ ! "$CURRENT_PGVERSION" -lt "$NEW_PGVERSION" ]; then

View File

@@ -29,7 +29,7 @@ x-op-app: &app
services:
db:
image: postgres:13
image: postgres:17
<<: *restart_policy
stop_grace_period: "3s"
volumes: