README.install-latest: change docker.list -> docker.source
This commit is contained in:
@@ -33,11 +33,18 @@ chmod a+r /etc/apt/keyrings/docker.asc
|
|||||||
|
|
||||||
# Add the repository to Apt sources:
|
# Add the repository to Apt sources:
|
||||||
#
|
#
|
||||||
echo \
|
#echo \
|
||||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
|
# "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
|
||||||
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
# $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
||||||
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
# tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
|
|
||||||
|
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
|
||||||
|
Types: deb
|
||||||
|
URIs: https://download.docker.com/linux/debian
|
||||||
|
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
||||||
|
Components: stable
|
||||||
|
Signed-By: /etc/apt/keyrings/docker.asc
|
||||||
|
EOF
|
||||||
|
|
||||||
|
|
||||||
# Install the latest version
|
# Install the latest version
|
||||||
|
|||||||
Reference in New Issue
Block a user