From 007e35746998eff5922d4641729e0d4c6ac77ed8 Mon Sep 17 00:00:00 2001 From: "zhczyx@163.com" Date: Wed, 17 Dec 2025 16:29:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++++- pom.xml | 44 ++++++++++++++++++++++---------------------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0d216e7..e8a55f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ -FROM registry.ap-northeast-1.aliyuncs.com/southwave/jdk17-template:latest +# FROM registry.ap-northeast-1.aliyuncs.com/southwave/jdk17-template:latest +FROM amazoncorretto:17-alpine +# 安装 fontconfig 和 DejaVu 字体 (这是一个通用且免费的字体包) +RUN apk --no-cache add fontconfig ttf-dejavu + WORKDIR /app COPY target/data-center-sender.jar app.jar EXPOSE 8201 diff --git a/pom.xml b/pom.xml index c64717c..424c7cf 100644 --- a/pom.xml +++ b/pom.xml @@ -502,7 +502,28 @@ - ${aws.ecr.registry}/aeon-prod/${aws.ecr.repositoryProd}:latest + ${aws.ecr.registry}/${aws.ecr.repository}:latest + ${aws.ecr.registry} + + ${project.basedir}/Dockerfile + + + + + + + + io.fabric8 + docker-maven-plugin + 0.38.1 + + + AKIAQNYBBSGDVT3VF4ON + DEhPMTHAIsKK7L2klURQrmMe3r2Tqgbaa6z2FYQu + + + + ${aws.ecr.registryTest}/aeon/${aws.ecr.repository}:latest ${aws.ecr.registry} ${project.basedir}/Dockerfile @@ -511,27 +532,6 @@ - - - - - - - - - - - - - - - - - - - - -