build: Upgrade to Rust 1.98 and Debian trixie #2

Merged
herel merged 1 commits from rust-upgrade into main 2026-08-28 13:12:51 +00:00
2 changed files with 5 additions and 3 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
# Build stage # Build stage
FROM rust:1.91 AS builder FROM rust:1.98-trixie AS builder
WORKDIR /usr/src/pop_imap_importer WORKDIR /usr/src/pop_imap_importer
@@ -29,11 +29,11 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
cargo build --release cargo build --release
# Runtime stage # Runtime stage
FROM debian:bookworm-slim FROM debian:trixie-slim
# Install CA certificates and OpenSSL runtime libraries # Install CA certificates and OpenSSL runtime libraries
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y ca-certificates libssl3 && \ apt-get install -y ca-certificates libssl3t64 && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/* # RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
+2
View File
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.98.0"