From 619eca7da0671c80d52b658b506ff86bfea7e778 Mon Sep 17 00:00:00 2001 From: leo <426742@gmail.com> Date: Thu, 8 Aug 2024 05:49:11 +0500 Subject: [PATCH] add apt-get --- init-docker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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