Merge pull request #30907 from Hyzhou/master

Add Aliyun mirror support to hack/install.sh
This commit is contained in:
Vincent Demeester 2017-04-03 16:13:59 +02:00 committed by GitHub
commit 9f17b97820

View file

@ -112,6 +112,10 @@ case "$mirror" in
apt_url="https://mirror.azure.cn/docker-engine/apt"
yum_url="https://mirror.azure.cn/docker-engine/yum"
;;
Aliyun)
apt_url="https://mirrors.aliyun.com/docker-engine/apt"
yum_url="https://mirrors.aliyun.com/docker-engine/yum"
;;
esac
command_exists() {