From 1be96c546f28eff9835aa7cc491106b36afcb19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=BCbner?= Date: Thu, 26 Mar 2026 15:33:12 +0100 Subject: [PATCH 1/4] [#62] Upgrade base-image to v3.23.3-6 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c3a153b..8dca95e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG PG_MINOR=21 ARG ALPINE_VERSION=3.23 -FROM registry.cloudogu.com/official/base:3.23.3-4 AS builder +FROM registry.cloudogu.com/official/base:3.23.3-6 AS builder FROM golang:1.26.0 AS gosu-builder From 8ceb278334d115c41d56b041cd169eb7599a0db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=BCbner?= Date: Thu, 26 Mar 2026 15:33:53 +0100 Subject: [PATCH 2/4] [#62] Upgrade postgres to v17.9 --- Dockerfile | 6 +++--- dogu.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8dca95e..3a7454b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG PG_MAJOR=14 -ARG PG_MINOR=21 +ARG PG_MAJOR=17 +ARG PG_MINOR=9 ARG ALPINE_VERSION=3.23 @@ -21,7 +21,7 @@ FROM postgres:${PG_MAJOR}.${PG_MINOR}-alpine${ALPINE_VERSION} ARG PG_MAJOR LABEL NAME="official/postgresql" \ - VERSION="14.21-1" \ + VERSION="17.9-0" \ maintainer="hello@cloudogu.com" # change the UID and GID for the postgres-user to 1000 so it matches the volume-mounts diff --git a/dogu.json b/dogu.json index 33d834c..c3e8b6d 100644 --- a/dogu.json +++ b/dogu.json @@ -1,6 +1,6 @@ { "Name": "official/postgresql", - "Version": "14.21-1", + "Version": "17.9-0", "DisplayName": "PostgreSQL", "Description": "PostgreSQL Database.", "Url": "https://www.postgresql.org/", From beede745ce69f59f54c00be71d27205b2dd7a9cf Mon Sep 17 00:00:00 2001 From: Florian Scholdei Date: Thu, 2 Apr 2026 11:36:24 +0200 Subject: [PATCH 3/4] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 553df9a..547ae58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- [#62] Update postgresql to 17.9 ## [v14.21-2] - 2026-03-31 ### Changed From c1513bb1959be087b5345f711ca8d7874d420438 Mon Sep 17 00:00:00 2001 From: Florian Scholdei Date: Wed, 8 Apr 2026 14:22:16 +0200 Subject: [PATCH 4/4] Update postgresql version in post-upgrade.bats --- batsTests/post-upgrade.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/batsTests/post-upgrade.bats b/batsTests/post-upgrade.bats index 5f48409..67fc669 100755 --- a/batsTests/post-upgrade.bats +++ b/batsTests/post-upgrade.bats @@ -26,8 +26,8 @@ setup() { # Fake Filesystem export FAKE_ROOT="${BATS_TMPDIR}/fake_root" export PG_BASE_DIR="${FAKE_ROOT}/var/lib/postgresql" - export PGDATA="${PG_BASE_DIR}/14/data" - export PG_MAJOR="14" + export PGDATA="${PG_BASE_DIR}/17/data" + export PG_MAJOR="17" mkdir -p "${PGDATA}" "${PG_BASE_DIR}/backup" }