国内下载
This commit is contained in:
parent
3b83ce28bd
commit
6c8235ada1
@ -7,15 +7,17 @@ EXPOSE 9996
|
|||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
# 安装字体和依赖
|
# 安装字体和依赖(替换国内源,解决下载卡顿)
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
|
||||||
|
sed -i 's/security.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
|
||||||
|
apt-get update && apt-get install -y \
|
||||||
fonts-liberation \
|
fonts-liberation \
|
||||||
fonts-dejavu-core \
|
fonts-dejavu-core \
|
||||||
fonts-wqy-zenhei \
|
fonts-wqy-zenhei \
|
||||||
fontconfig \
|
fontconfig \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# ÖØ½¨×ÖÌ建´æ
|
# ÖØ½¨×ÖÌ建´æ
|
||||||
RUN fc-cache -fv
|
RUN fc-cache -fv
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user