add apt-get
This commit is contained in:
parent
c913d1780b
commit
619eca7da0
@ -10,11 +10,11 @@ set -e
|
|||||||
|
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
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
|
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"
|
add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
|
||||||
apt update -y
|
apt-get update -y
|
||||||
apt install -y docker-ce
|
apt-get install -y docker-ce
|
||||||
|
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
echo "Docker installed"
|
echo "Docker installed"
|
Loading…
Reference in New Issue
Block a user