Commit 6467703f authored by huyuchen's avatar huyuchen

Merge remote-tracking branch 'origin/MVP1.7.12' into MVP1.7.12

parents d2815d62 c78e94ea
...@@ -9,8 +9,14 @@ ARG JAR_FILE=target/yifu-social-biz.jar ...@@ -9,8 +9,14 @@ ARG JAR_FILE=target/yifu-social-biz.jar
COPY ${JAR_FILE} app.jar COPY ${JAR_FILE} app.jar
## 解决使用excel工具转png docker乱码没有宋体 ## 解决使用excel工具转png docker乱码没有宋体
RUN set -xe && apk --no-cache add fontconfig #RUN set -xe && apk --no-cache add fontconfig
#COPY simsun.ttc /usr/share/fonts/
# 使用缓存安装 fontconfig hgw 20250625
RUN --mount=type=cache,target=/var/cache/apk set -xe && apk --no-cache add fontconfig
# 添加宋体(仅在 simsun.ttc 变更时重新复制)
COPY simsun.ttc /usr/share/fonts/ COPY simsun.ttc /usr/share/fonts/
##end ##end
EXPOSE 5002 EXPOSE 5002
......
#!/usr/bin/env bash #!/usr/bin/env bash
mvn clean package -Ptest -Dmaven.test.skip=true docker:build -DpushImage DOCKER_BUILDKIT=1 mvn clean package -Ptest -Dmaven.test.skip=true docker:build -DpushImage
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment