Fix busted docker.list

This commit is contained in:
sickcodes 2022-11-19 03:53:32 +00:00
parent 2265bb5a3f
commit fbe5dba618

View File

@ -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 \