From 20d21b742a4f9304ac4fcc9f73580fa584cfb7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Sun, 25 Sep 2022 17:28:52 +0200 Subject: [PATCH] =?UTF-8?q?=E2=8F=AB=20Bump=20up=20Compose=20version=20to?= =?UTF-8?q?=20use=202.X=20everywhere?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prepare-vms/lib/commands.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/prepare-vms/lib/commands.sh b/prepare-vms/lib/commands.sh index 97931f76..94668059 100644 --- a/prepare-vms/lib/commands.sh +++ b/prepare-vms/lib/commands.sh @@ -276,13 +276,14 @@ EOF " ##VERSION## https://github.com/docker/compose/releases - if [ "$ARCHITECTURE" ]; then - COMPOSE_VERSION=v2.2.3 - COMPOSE_PLATFORM='linux-$(uname -m)' - else - COMPOSE_VERSION=1.29.2 - COMPOSE_PLATFORM='Linux-$(uname -m)' - fi + COMPOSE_VERSION=v2.11.1 + COMPOSE_PLATFORM='linux-$(uname -m)' + + # Just in case you need Compose 1.X, you can use the following lines. + # (But it will probably only work for x86_64 machines.) + #COMPOSE_VERSION=1.29.2 + #COMPOSE_PLATFORM='Linux-$(uname -m)' + pssh " set -e ### Install docker-compose.