From df3b60376ad021e5dd14970208d3f8a83fde6d50 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 10 Aug 2025 18:36:44 -0400 Subject: [PATCH] Restore Debian 12 Bookworm over Debian 11 Bullseye --- orchestration/src/main.rs | 4 ++-- orchestration/src/mimalloc.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/orchestration/src/main.rs b/orchestration/src/main.rs index 64271d46..1bad77fb 100644 --- a/orchestration/src/main.rs +++ b/orchestration/src/main.rs @@ -117,7 +117,7 @@ WORKDIR /home/{user} Os::Debian => format!( r#" -FROM debian:bullseye-slim AS image +FROM debian:bookworm-slim AS image COPY --from=mimalloc-debian libmimalloc.so /usr/lib RUN echo "/usr/lib/libmimalloc.so" >> /etc/ld.so.preload @@ -146,7 +146,7 @@ fn build_serai_service(prelude: &str, release: bool, features: &str, package: &s format!( r#" -FROM rust:1.89-slim-bullseye AS builder +FROM rust:1.89-slim-bookworm AS builder COPY --from=mimalloc-debian libmimalloc.so /usr/lib RUN echo "/usr/lib/libmimalloc.so" >> /etc/ld.so.preload diff --git a/orchestration/src/mimalloc.rs b/orchestration/src/mimalloc.rs index 0f412e12..51f5bfe7 100644 --- a/orchestration/src/mimalloc.rs +++ b/orchestration/src/mimalloc.rs @@ -16,7 +16,7 @@ RUN git clone https://github.com/microsoft/mimalloc && \ "#; const DEBIAN_MIMALLOC: &str = r#" -FROM debian:bullseye-slim AS mimalloc-debian +FROM debian:bookworm-slim AS mimalloc-debian RUN apt update && apt upgrade -y && apt install -y gcc g++ make cmake git RUN git clone https://github.com/microsoft/mimalloc && \