Ver Fonte

update 优化 删除无用语句

疯狂的狮子Li há 2 anos atrás
pai
commit
d2ec489c55
2 ficheiros alterados com 0 adições e 8 exclusões
  1. 0 4
      ruoyi-auth/Dockerfile
  2. 0 4
      ruoyi-modules/ruoyi-workflow/Dockerfile

+ 0 - 4
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}

+ 0 - 4
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}