diff --git a/scripts/installer.sh b/scripts/installer.sh index 70e2aa492..d6a4d3ae6 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -80,13 +80,9 @@ if [[ $(docker version --format {{.Client.Version}}) != "${docker_version}" ]]; $curl -sL "https://download.docker.com/linux/ubuntu/dists/${ubuntu_codename}/pool/stable/amd64/docker-ce-cli_${docker_version}~3-0~ubuntu-${ubuntu_codename}_amd64.deb" -o /tmp/docker-ce-cli.deb $curl -sL "https://download.docker.com/linux/ubuntu/dists/${ubuntu_codename}/pool/stable/amd64/docker-ce_${docker_version}~3-0~ubuntu-${ubuntu_codename}_amd64.deb" -o /tmp/docker.deb + log "installing docker" prepare_apt_once - - while ! apt install -y /tmp/containerd.deb /tmp/docker-ce-cli.deb /tmp/docker.deb; do - log "Failed to install docker. Retry" - sleep 1 - done - + apt install -y /tmp/containerd.deb /tmp/docker-ce-cli.deb /tmp/docker.deb rm /tmp/containerd.deb /tmp/docker-ce-cli.deb /tmp/docker.deb fi