From 292e371b073c4ae926da365ce712d0c3154d787a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Tue, 21 Oct 2025 16:56:58 +0200 Subject: [PATCH] Dockerfile: Update to debian 13 (#2099) --- Dockerfile | 4 ++-- Dockerfile.build | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f48aed70..0f336f6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Stalwart Dockerfile # Credits: https://github.com/33KK -FROM --platform=$BUILDPLATFORM docker.io/lukemathwalker/cargo-chef:latest-rust-slim-bookworm AS chef +FROM --platform=$BUILDPLATFORM docker.io/lukemathwalker/cargo-chef:latest-rust-slim-trixie AS chef WORKDIR /build FROM --platform=$BUILDPLATFORM chef AS planner @@ -28,7 +28,7 @@ RUN RUSTFLAGS="$(cat /flags.txt)" cargo build --target "$(cat /target.txt)" --re RUN RUSTFLAGS="$(cat /flags.txt)" cargo build --target "$(cat /target.txt)" --release -p stalwart-cli RUN mv "/build/target/$(cat /target.txt)/release" "/output" -FROM docker.io/debian:bookworm-slim +FROM docker.io/debian:trixie-slim WORKDIR /opt/stalwart RUN export DEBIAN_FRONTEND=noninteractive && \ apt-get update && \ diff --git a/Dockerfile.build b/Dockerfile.build index 8e2f5ccb..064cc895 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -4,7 +4,7 @@ # ***************** # Base image for planner & builder # ***************** -FROM --platform=$BUILDPLATFORM rust:slim-bookworm AS base +FROM --platform=$BUILDPLATFORM rust:slim-trixie AS base ENV DEBIAN_FRONTEND="noninteractive" \ BINSTALL_DISABLE_TELEMETRY=true \ @@ -138,7 +138,7 @@ COPY --from=builder /app/artifact / # ***************** # Runtime image for GNU targets # ***************** -FROM --platform=$TARGETPLATFORM docker.io/library/debian:bookworm-slim AS gnu +FROM --platform=$TARGETPLATFORM docker.io/library/debian:trixie-slim AS gnu WORKDIR /opt/stalwart RUN export DEBIAN_FRONTEND=noninteractive && \ apt-get update && \