From 3b68914b7385a346b5ebf5ae06d134a1fa0b07c5 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Thu, 29 Jan 2026 22:24:52 +0100 Subject: [PATCH] build: upgrade postgres client to fix build error --- docker/development/Dockerfile | 3 ++- docker/production/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/development/Dockerfile b/docker/development/Dockerfile index 85cce14d7..ab9cb2fca 100644 --- a/docker/development/Dockerfile +++ b/docker/development/Dockerfile @@ -6,7 +6,8 @@ ARG MINIO_VERSION=RELEASE.2025-05-21T01-59-54Z # https://github.com/cloudflare/cloudflared/releases ARG CLOUDFLARED_VERSION=2025.7.0 # https://www.postgresql.org/support/versioning/ -ARG POSTGRES_VERSION=15 +# Note: We are using version 18 of the postgres client (while still using postgres 15 for the postgres server) as version 15 has been removed from Alpine 3.23+ https://pkgs.alpinelinux.org/packages?name=postgresql*-client&branch=v3.23&repo=&arch=x86_64&origin=&flagged=&maintainer= +ARG POSTGRES_VERSION=18 # ================================================================= # Get MinIO client diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 2ce8c834e..a01dd595c 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -6,7 +6,8 @@ ARG MINIO_VERSION=RELEASE.2025-05-21T01-59-54Z # https://github.com/cloudflare/cloudflared/releases ARG CLOUDFLARED_VERSION=2025.7.0 # https://www.postgresql.org/support/versioning/ -ARG POSTGRES_VERSION=15 +# Note: We are using version 18 of the postgres client (while still using postgres 15 for the postgres server) as version 15 has been removed from Alpine 3.23+ https://pkgs.alpinelinux.org/packages?name=postgresql*-client&branch=v3.23&repo=&arch=x86_64&origin=&flagged=&maintainer= +ARG POSTGRES_VERSION=18 # Add user/group ARG USER_ID=9999