1
0

Do not update 20.10.10 docker

This commit is contained in:
nicolas.dorier
2023-12-12 18:32:17 +09:00
parent 976eebe892
commit 6737d7b8d8

View File

@@ -165,7 +165,7 @@ docker_update() {
# Possible that old distro like xenial doesn't have it anymore, if so, just take # Possible that old distro like xenial doesn't have it anymore, if so, just take
# the next distrib # the next distrib
if [ "21" \> "$(docker version -f "{{ .Server.Version }}")" ]; then if [ "21" \> "$(docker version -f "{{ .Server.Version }}")" ] && [[ "20.10.10" != "$(docker version -f "{{ .Server.Version }}")" ]]; then
echo "Updating docker, with bionic's version" echo "Updating docker, with bionic's version"
echo \ echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \