diff --git a/Dockerfile b/Dockerfile index 4e1667e..a82dbab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ # FROM registry.ap-northeast-1.aliyuncs.com/southwave/jdk17-template:latest FROM amazoncorretto:17-alpine -# 安装 fontconfig 和 DejaVu 字体 (这是一个通用且免费的字体包) -RUN apk --no-cache upgrade && \ +# 更新系统包并安装 fontconfig 和 DejaVu 字体 (这是一个通用且免费的字体包) +RUN apk --no-cache update && \ + apk --no-cache upgrade && \ apk --no-cache add fontconfig ttf-dejavu + WORKDIR /app COPY target/data-center-receiver.jar app.jar EXPOSE 8200 diff --git a/pom.xml b/pom.xml index 6d8fa5c..7a233f2 100644 --- a/pom.xml +++ b/pom.xml @@ -613,26 +613,26 @@ - - - - - - - - - - - - - - - - - - - - +