cleanup
This commit is contained in:
parent
1af1ae6b9f
commit
796808bfd2
|
@ -3,8 +3,8 @@
|
|||
# REF:https://docs.docker.com/engine/install/debian/#install-using-the-repository
|
||||
|
||||
# Add Docker's official GPG key:
|
||||
apt-get update
|
||||
apt-get install ca-certificates curl gnupg
|
||||
apt -y update
|
||||
apt -y install ca-certificates curl gnupg
|
||||
install -m 0755 -d /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
chmod a+r /etc/apt/keyrings/docker.gpg
|
||||
|
@ -14,4 +14,4 @@ echo \
|
|||
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
|
||||
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
|
||||
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
apt-get update
|
||||
apt -y update
|
||||
|
|
Loading…
Reference in New Issue