diff --git a/.java-version b/.java-version new file mode 100644 index 0000000..98d9bcb --- /dev/null +++ b/.java-version @@ -0,0 +1 @@ +17 diff --git a/Dockerfile b/Dockerfile index e8a55f3..5015b5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ # 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 +# 更新系统包并安装 fontconfig 和 DejaVu 字体 (这是一个通用且免费的字体包) +RUN apk --no-cache update && \ + apk --no-cache upgrade && \ + apk --no-cache add fontconfig ttf-dejavu WORKDIR /app COPY target/data-center-sender.jar app.jar diff --git a/mvnw b/mvnw old mode 100644 new mode 100755 diff --git a/pom.xml b/pom.xml index 107931b..db23f0a 100644 --- a/pom.xml +++ b/pom.xml @@ -470,7 +470,7 @@ - + - - - - - - - - - - - - - - - - - - - - + + io.fabric8 + docker-maven-plugin + 0.38.1 + + + AKIAVSKFRQDPNWHJDSHL + DqGyOiVFKI50/Ix+cjvj25vPL2tC7NJrJ7fqzn/g + + + + ${aws.ecr.registryTest}/aeon/${aws.ecr.repository}:latest + ${aws.ecr.registry} + + ${project.basedir}/Dockerfile + + + + +