更新 'Dockerfile_gray'
This commit is contained in:
parent
c0c7ae7f15
commit
510a37abac
@ -1,5 +1,7 @@
|
|||||||
FROM openjdk:8u181-jre-alpine
|
FROM openjdk:8u181-jre-alpine
|
||||||
ENV LANG en_US.UTF-8
|
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 &&\
|
RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories &&\
|
||||||
apk add tzdata &&\
|
apk add tzdata &&\
|
||||||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone &&\
|
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 msttcorefonts-installer &&\
|
||||||
apk add fontconfig &&\
|
apk add fontconfig &&\
|
||||||
apk --update add unzip &&\
|
apk --update add unzip &&\
|
||||||
mkdir -p /usr/share/fonts/chinese &&\
|
|
||||||
cd /tmp &&\
|
cd /tmp &&\
|
||||||
wget http://kkfileview.keking.cn/fonts.zip &&\
|
wget http://kkfileview.keking.cn/fonts.zip &&\
|
||||||
unzip -d /usr/share/fonts/chinese fonts.zip &&\
|
unzip -d /usr/share/fonts/chinese fonts.zip &&\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user