国内下载
This commit is contained in:
parent
3b83ce28bd
commit
6c8235ada1
@ -7,8 +7,10 @@ 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 \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user