Move backend image to Debian trixie and drop libssl-dev

Nothing links OpenSSL anymore (all TLS goes through rustls), so the
builder no longer needs libssl-dev.
This commit is contained in:
mathias committed 2026-11-04 22:08:58 +01:00
1 parent e5068cc833
commit 26c3666104
1 file changed
+3 -3
+3 -3
View File
@@ -1,8 +1,8 @@
# --- builder --- # --- builder ---
FROM rust:1-slim-bookworm AS builder FROM rust:1-slim-trixie AS builder
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
libpq-dev pkg-config libssl-dev \ libpq-dev pkg-config \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
@@ -12,7 +12,7 @@ RUN cargo build --release && \
rm -rf target rm -rf target
# --- runtime --- # --- runtime ---
FROM debian:bookworm-slim FROM debian:trixie-slim
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
libpq5 ca-certificates \ libpq5 ca-certificates \