From 510a37abac725d42485b9a3bb6a9a21a9b3ce7c5 Mon Sep 17 00:00:00 2001 From: daijunxiong Date: Thu, 12 Oct 2023 17:27:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'Dockerfile=5Fgray'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile_gray | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile_gray b/Dockerfile_gray index 07a2e3d..963a133 100644 --- a/Dockerfile_gray +++ b/Dockerfile_gray @@ -1,5 +1,7 @@ FROM openjdk:8u181-jre-alpine ENV LANG en_US.UTF-8 +RUN set -eux && sed -i mkdir -p /usr/share/fonts/chinese +COPY /usr/share/fonts/korean/* /usr/share/fonts/chinese/ RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories &&\ apk add tzdata &&\ ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone &&\ @@ -10,7 +12,6 @@ RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk apk add msttcorefonts-installer &&\ apk add fontconfig &&\ apk --update add unzip &&\ - mkdir -p /usr/share/fonts/chinese &&\ cd /tmp &&\ wget http://kkfileview.keking.cn/fonts.zip &&\ unzip -d /usr/share/fonts/chinese fonts.zip &&\