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:
1 parent
e5068cc833
commit
26c3666104
1 file changed
+3
-3
+3
-3
@@ -1,8 +1,8 @@
|
||||
# --- 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 \
|
||||
libpq-dev pkg-config libssl-dev \
|
||||
libpq-dev pkg-config \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
@@ -12,7 +12,7 @@ RUN cargo build --release && \
|
||||
rm -rf target
|
||||
|
||||
# --- runtime ---
|
||||
FROM debian:bookworm-slim
|
||||
FROM debian:trixie-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libpq5 ca-certificates \
|
||||
|
||||
Reference in new issue
Block a user