From bdff2b5505472f536c1e25adda8ff2efa8c9f631 Mon Sep 17 00:00:00 2001 From: Rene Luria Date: Fri, 28 Aug 2026 15:10:14 +0200 Subject: [PATCH] build: Upgrade to Rust 1.98 and Debian trixie Pin the toolchain to Rust 1.98 via rust-toolchain.toml and bump the builder image to rust:1.98-trixie. Move the runtime image from Debian bookworm to trixie, replacing libssl3 with libssl3t64 which is the OpenSSL runtime package name in trixie. --- Dockerfile | 6 +++--- rust-toolchain.toml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/Dockerfile b/Dockerfile index 5d81220..e57e1b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM rust:1.91 AS builder +FROM rust:1.98-trixie AS builder WORKDIR /usr/src/pop_imap_importer @@ -29,11 +29,11 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \ cargo build --release # Runtime stage -FROM debian:bookworm-slim +FROM debian:trixie-slim # Install CA certificates and OpenSSL runtime libraries RUN apt-get update && \ - apt-get install -y ca-certificates libssl3 && \ + apt-get install -y ca-certificates libssl3t64 && \ rm -rf /var/lib/apt/lists/* # RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/* diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..b73c15e --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.98.0" -- 2.47.3