build: add postgresql client library libpq5 (#6964)

Add postgresql client library libpq5
This commit is contained in:
Jordan Frazier 2025-03-07 13:44:05 -08:00 • committed by GitHub
commit c41eaf0071
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,11 @@ FROM python:3.12.3-slim AS runtime
RUN apt-get update \ RUN apt-get update \
&& apt-get upgrade -y \ && apt-get upgrade -y \
&& apt-get install -y curl git \ && apt-get install -y \
curl \
git \
# Add PostgreSQL client libraries
libpq5 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data \ && useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data \