Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/Under the Hood-20260522-120000.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: Remove exact version pin for libpq-dev in Dockerfile to prevent recurring build failures when Debian publishes PostgreSQL security updates.
time: 2026-05-22T12:00:00.000000Z
custom:
Author: OliverCostello1
Issue: "12808"
12 changes: 7 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential=12.9 \
ca-certificates=20210119 \
libpq-dev=13.23-0+deb11u3 \
# libpq-dev is intentionally not pinned: Debian removes old patch versions when publishing
# security updates, which breaks builds. The apt-mark hold below prevents dist-upgrade drift.
libpq-dev \
make=4.3-4.1 \
openssh-client=1:8.4p1-5+deb11u3 \
software-properties-common=0.96.20.2-2.1 \
Expand Down Expand Up @@ -85,7 +87,7 @@ FROM dbt-core AS dbt-third-party
ARG dbt_third_party

RUN if [ "$dbt_third_party" ]; then \
python -m pip install --no-cache-dir "${dbt_third_party}"; \
else \
echo "No third party adapter provided"; \
fi \
python -m pip install --no-cache-dir "${dbt_third_party}"; \
else \
echo "No third party adapter provided"; \
fi \
Loading