Skip to content

Commit

Permalink
Reinstate libpq dependencies for C linking
Browse files Browse the repository at this point in the history
  • Loading branch information
alnoki committed Aug 22, 2024
1 parent 382d8fe commit dd34e0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rust/broker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
libclang-dev \
libdw-dev \
libpq-dev \
libssl-dev \
lld \
pkg-config \
Expand All @@ -36,6 +37,7 @@ RUN cargo build --bin broker --package broker --release --features $FEATURES
FROM debian:bookworm-slim AS runtime
RUN apt-get update && apt-get install -y --no-install-recommends \
libssl-dev \
libpq-dev \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir app
COPY --from=builder /app/target/release/broker /app
Expand Down

0 comments on commit dd34e0f

Please sign in to comment.