diff --git a/install/docker b/install/docker index 44a99d1..59549b0 100755 --- a/install/docker +++ b/install/docker @@ -9,7 +9,7 @@ echo # https://docs.docker.com/engine/install/ubuntu/ -sudo apt-get install \ +sudo apt install \ ca-certificates \ curl \ gnupg \ @@ -17,9 +17,8 @@ sudo apt-get install \ sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg -echo \ - "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ - $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null +echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \ +| sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo chmod a+r /etc/apt/keyrings/docker.gpg sudo apt update