use https for docker

This commit is contained in:
bigeagle 2016-06-09 12:50:28 +08:00
parent 72988798c8
commit 37f26c7752
No known key found for this signature in database
GPG Key ID: 9171A4571C27920A

View File

@ -49,7 +49,7 @@ createrepo --update -v -c $cache_dir -o ${YUM_PATH}/centos6 ${YUM_PATH}/centos7
rm $cfg
# APT mirror
base_url="http://apt.dockerproject.org/repo"
base_url="https://apt.dockerproject.org/repo"
for version in ${APT_VERSIONS[@]}; do
apt-download-binary ${base_url} "$version" "main" "amd64" "${APT_PATH}" || true
apt-download-binary ${base_url} "$version" "main" "i386" "${APT_PATH}" || true