From 30aa3a99d5babb2ae61ad82025b36de06996878b Mon Sep 17 00:00:00 2001 From: Tyler Adam Martinez Date: Tue, 18 Aug 2026 10:29:05 -0500 Subject: [PATCH] fix(api/Dockerfile): add curl & postgresql-client-18 pkg to the list --- api/Dockerfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index 9c3e543e..8dd0fecc 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -6,14 +6,25 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 # Install system dependencies (trixie) + JDK (default is 21) + PostgreSQL client +# Install base dependencies needed to add the PostgreSQL repository RUN apt-get update \ && apt-get install -y --no-install-recommends \ + ca-certificates \ + curl \ libpango-1.0-0 \ libcairo2 \ libgdk-pixbuf-2.0-0 \ libffi-dev \ default-jdk-headless \ - postgresql-client \ + && install -d /usr/share/postgresql-common/pgdg \ + && curl -fsSL \ + https://www.postgresql.org/media/keys/ACCC4CF8.asc \ + -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc \ + && echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt trixie-pgdg main" \ + > /etc/apt/sources.list.d/pgdg.list \ + && apt-get update \ + && apt-get install -y --no-install-recommends \ + postgresql-client-18 \ && rm -rf /var/lib/apt/lists/* # Make Java headers discoverable by builds