From 75c38560f40d6065933633a859110ed4af1a6df2 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 10 Aug 2025 11:34:09 -0400 Subject: [PATCH] Bookworm -> Bullseye, except for the runtime --- 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 1bad77fb..64271d46 100644 --- a/orchestration/src/main.rs +++ b/orchestration/src/main.rs @@ -117,7 +117,7 @@ WORKDIR /home/{user} Os::Debian => format!( r#" -FROM debian:bookworm-slim AS image +FROM debian:bullseye-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-bookworm AS builder +FROM rust:1.89-slim-bullseye 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 51f5bfe7..0f412e12 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:bookworm-slim AS mimalloc-debian +FROM debian:bullseye-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 && \