From bf91b3c6d21ba44d73f5b5cf76dc75f7e45d8cb0 Mon Sep 17 00:00:00 2001 From: Draco-Lunaris-Echo Date: Sun, 7 Jun 2026 18:55:45 -0500 Subject: [PATCH] fix(docker): use ubuntu:24.04 runtime instead of debian:bookworm-slim (#44) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(docker): add PostgreSQL APT repo for postgresql-client-16 Debian Bookworm default repos only ship PostgreSQL 15. The Docker runtime stage needs postgresql-client-16 for the entrypoint script, so add the official PGDG APT repository. - Add PGDG GPG key and sources.list entry for bookworm-pgdg - Install ca-certificates and curl first (needed for repo setup) - Purge gnupg2 after use to keep image lean - Verify argon2 package name is correct for Bookworm (it is) * fix(docker): use ubuntu:24.04 runtime instead of debian:bookworm-slim The project targets Ubuntu 24.04, not Debian Bookworm. Ubuntu 24.04 includes PostgreSQL 16 in default repos, eliminating the need for the PGDG APT repo workaround. Also fixes libssl3 → libssl3t64 package name for the time64 transition in Ubuntu 24.04. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index def159e..21d2d8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,11 +58,11 @@ RUN npm run build # --------------------------------------------------------------------------- # Stage 3: Runtime # --------------------------------------------------------------------------- -FROM debian:bookworm-slim AS runtime +FROM ubuntu:24.04 AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ - libssl3 \ + libssl3t64 \ libfontconfig1 \ postgresql-client-16 \ argon2 \