From 6737d7b8d8094c8ade3c4ca4eebdcdb63538a2ff Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 12 Dec 2023 18:32:17 +0900 Subject: [PATCH] Do not update 20.10.10 docker --- helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.sh b/helpers.sh index 940cefe..9e03be4 100755 --- a/helpers.sh +++ b/helpers.sh @@ -165,7 +165,7 @@ docker_update() { # Possible that old distro like xenial doesn't have it anymore, if so, just take # 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 \ "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \