Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

build: upgrade postgres client to fix build error

peaklabs-dev3b68914b7385
diff --git a/docker/development/Dockerfile b/docker/development/Dockerfile
index 85cce14d76..ab9cb2fca6 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 2ce8c834e9..a01dd595cb 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