Fix busted docker.list

pull/612/head
sickcodes 2 years ago
parent 2265bb5a3f
commit fbe5dba618

@ -159,6 +159,7 @@ install_docker () {
; apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y \ ; apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \ && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
&& apt-key fingerprint 0EBFCD88 \ && apt-key fingerprint 0EBFCD88 \
&& > /etc/apt/sources.list.d/docker.list \
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \ && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
&& apt update -y \ && apt update -y \
&& apt install docker-ce docker-ce-cli containerd.io -y \ && apt install docker-ce docker-ce-cli containerd.io -y \

Loading…
Cancel
Save