From 0f441f5eb40849b89fe1c971df7f549548642128 Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Mon, 27 Apr 2026 09:42:02 +0800 Subject: [PATCH] fix(docker): use ubuntu:24.04 base image for all runtime Dockerfiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves GLIBC_2.39 mismatch error — CI builds on ubuntu-latest (24.04) which links against glibc 2.39, but debian:bookworm-slim only provides glibc 2.36, causing binary execution failure. --- docker/adminrpc.Dockerfile | 2 +- docker/app.Dockerfile | 2 +- docker/email-worker.Dockerfile | 2 +- docker/git-hook.Dockerfile | 2 +- docker/gitserver.Dockerfile | 2 +- docker/operator.Dockerfile | 2 +- docker/static.Dockerfile | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/adminrpc.Dockerfile b/docker/adminrpc.Dockerfile index 3e0525d..567b0fe 100644 --- a/docker/adminrpc.Dockerfile +++ b/docker/adminrpc.Dockerfile @@ -1,5 +1,5 @@ # Runtime only — binary built externally via cargo -FROM debian:bookworm-slim +FROM ubuntu:24.04 RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates libssl3 \ diff --git a/docker/app.Dockerfile b/docker/app.Dockerfile index 9d3f87a..cbaa31f 100644 --- a/docker/app.Dockerfile +++ b/docker/app.Dockerfile @@ -1,5 +1,5 @@ # Runtime only — binary built externally via cargo -FROM debian:bookworm-slim +FROM ubuntu:24.04 RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates libssl3 git \ diff --git a/docker/email-worker.Dockerfile b/docker/email-worker.Dockerfile index b9d2bbc..661d07c 100644 --- a/docker/email-worker.Dockerfile +++ b/docker/email-worker.Dockerfile @@ -1,5 +1,5 @@ # Runtime only — binary built externally via cargo -FROM debian:bookworm-slim +FROM ubuntu:24.04 RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates libssl3 procps \ diff --git a/docker/git-hook.Dockerfile b/docker/git-hook.Dockerfile index c6e1448..c4d1aa8 100644 --- a/docker/git-hook.Dockerfile +++ b/docker/git-hook.Dockerfile @@ -1,5 +1,5 @@ # Runtime only — binary built externally via cargo -FROM debian:bookworm-slim +FROM ubuntu:24.04 RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates libssl3 openssh-client procps git \ diff --git a/docker/gitserver.Dockerfile b/docker/gitserver.Dockerfile index fcd32e7..9af7488 100644 --- a/docker/gitserver.Dockerfile +++ b/docker/gitserver.Dockerfile @@ -1,5 +1,5 @@ # Runtime only — binary built externally via cargo -FROM debian:bookworm-slim +FROM ubuntu:24.04 RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates libssl3 openssh-server git \ diff --git a/docker/operator.Dockerfile b/docker/operator.Dockerfile index 49f3e03..3841a22 100644 --- a/docker/operator.Dockerfile +++ b/docker/operator.Dockerfile @@ -1,5 +1,5 @@ # Runtime only — binary built externally via cargo -FROM debian:bookworm-slim +FROM ubuntu:24.04 RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates git \ diff --git a/docker/static.Dockerfile b/docker/static.Dockerfile index 37840db..a7ff298 100644 --- a/docker/static.Dockerfile +++ b/docker/static.Dockerfile @@ -1,5 +1,5 @@ # Runtime only — binary built externally via cargo -FROM debian:bookworm-slim +FROM ubuntu:24.04 RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates git \