diff --git a/ruoyi-auth/Dockerfile b/ruoyi-auth/Dockerfile index 71e290f1d..30b7c6676 100644 --- a/ruoyi-auth/Dockerfile +++ b/ruoyi-auth/Dockerfile @@ -11,10 +11,6 @@ RUN mkdir -p /ruoyi/auth/logs \ WORKDIR /ruoyi/auth -# 补全alpine镜像缺失字体问题 -RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories -RUN apk add fontconfig && apk add --update ttf-dejavu && fc-cache --force - ENV SERVER_PORT=9210 LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS="" EXPOSE ${SERVER_PORT} diff --git a/ruoyi-modules/ruoyi-workflow/Dockerfile b/ruoyi-modules/ruoyi-workflow/Dockerfile index 947c6e189..c72c68882 100644 --- a/ruoyi-modules/ruoyi-workflow/Dockerfile +++ b/ruoyi-modules/ruoyi-workflow/Dockerfile @@ -11,10 +11,6 @@ RUN mkdir -p /ruoyi/workflow/logs \ WORKDIR /ruoyi/workflow -# 补全alpine镜像缺失字体问题 -RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories -RUN apk add fontconfig && apk add --update ttf-dejavu && fc-cache --force - ENV SERVER_PORT=9205 LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS="" EXPOSE ${SERVER_PORT}