change workspace dockerfile mirror link

This commit is contained in:
Amor 2021-08-30 18:29:47 +08:00
parent d544a1a63c
commit 7298c60d0f

View File

@ -33,7 +33,7 @@ USER root
ARG CHANGE_SOURCE=false ARG CHANGE_SOURCE=false
RUN if [ ${CHANGE_SOURCE} = true ]; then \ RUN if [ ${CHANGE_SOURCE} = true ]; then \
# Change application source from deb.debian.org to aliyun source # Change application source from deb.debian.org to aliyun source
sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list; \ sed -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list; \
fi; fi;
########################################################################### ###########################################################################