From e7b99735e8bb2242d78324b4b4e2a632f61a5ff7 Mon Sep 17 00:00:00 2001 From: litianxiang Date: Mon, 1 Jun 2026 16:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8DDockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/master_sellrt_build_manual.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.gitea/workflows/master_sellrt_build_manual.yaml b/.gitea/workflows/master_sellrt_build_manual.yaml index a8e3396..976cd27 100644 --- a/.gitea/workflows/master_sellrt_build_manual.yaml +++ b/.gitea/workflows/master_sellrt_build_manual.yaml @@ -47,14 +47,7 @@ jobs: echo "===== 生成Dockerfile =====" cat > Dockerfile << 'EOF' FROM openjdk:21-ea-21-jdk-slim - VOLUME /tmp - - # ===================== 修复字体库缺失(关键)===================== - RUN apt-get update \ - && apt-get install -y --no-install-recommends fontconfig libfreetype6 \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* - + VOLUME /tmp RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN echo 'Asia/Shanghai' > /etc/timezone ADD ./target/*.jar /app.jar