mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
use https for docker
This commit is contained in:
parent
72988798c8
commit
37f26c7752
@ -49,7 +49,7 @@ createrepo --update -v -c $cache_dir -o ${YUM_PATH}/centos6 ${YUM_PATH}/centos7
|
|||||||
rm $cfg
|
rm $cfg
|
||||||
|
|
||||||
# APT mirror
|
# APT mirror
|
||||||
base_url="http://apt.dockerproject.org/repo"
|
base_url="https://apt.dockerproject.org/repo"
|
||||||
for version in ${APT_VERSIONS[@]}; do
|
for version in ${APT_VERSIONS[@]}; do
|
||||||
apt-download-binary ${base_url} "$version" "main" "amd64" "${APT_PATH}" || true
|
apt-download-binary ${base_url} "$version" "main" "amd64" "${APT_PATH}" || true
|
||||||
apt-download-binary ${base_url} "$version" "main" "i386" "${APT_PATH}" || true
|
apt-download-binary ${base_url} "$version" "main" "i386" "${APT_PATH}" || true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user