From bfe643d9c89fa86bd567656533d2d29da46c728a Mon Sep 17 00:00:00 2001 From: 635677437d755007c09848d3 <635677437d755007c09848d3@devide> Date: Sun, 30 Oct 2022 06:30:44 +0000 Subject: [PATCH] replase source --- build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index edfabc7..5c11564 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,12 @@ if [ ! -f /usr/bin/pip3.8 ]; then fi if [ ! -f /usr/bin/docker ]; then - curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun + apt update + apt install apt-transport-https ca-certificates curl software-properties-common -y + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - + add-apt-repository "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" + apt update + apt-get -y install docker-ce tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://o4omo0yw.mirror.aliyuncs.com"] -- GitLab