diff --git a/init-docker.sh b/init-docker.sh index c1cbb1f..9a86d03 100644 --- a/init-docker.sh +++ b/init-docker.sh @@ -10,11 +10,11 @@ set -e export DEBIAN_FRONTEND=noninteractive -apt install -y apt-transport-https ca-certificates curl software-properties-common +apt-get install -y apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/docker.gpg add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" -apt update -y -apt install -y docker-ce +apt-get update -y +apt-get install -y docker-ce trap - EXIT echo "Docker installed" \ No newline at end of file