From 7015e4704cd09d576b0dfdf1dbc3032d5ad47720 Mon Sep 17 00:00:00 2001 From: PIGCLOUD Date: Fri, 30 Jan 2026 08:58:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(pigx-boot):=20=E5=9C=A8=20Dockerfile=20?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E4=B8=AD=E6=96=87=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 安装 wqy-microhei-fonts 以解决词云中文显示问题 - 清理 yum 缓存以优化镜像大小 --- pigx-boot/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pigx-boot/Dockerfile b/pigx-boot/Dockerfile index 4f237d201..f044ca2c3 100755 --- a/pigx-boot/Dockerfile +++ b/pigx-boot/Dockerfile @@ -2,6 +2,9 @@ FROM registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/java:21-anolis WORKDIR /pigx-boot +# 安装中文字体(解决词云中文显示问题) +RUN yum install -y wqy-microhei-fonts && yum clean all + ARG JAR_FILE=target/pigx-boot.jar COPY ${JAR_FILE} app.jar