From 31eb235ca412c713444da06aec09239e41cc0c03 Mon Sep 17 00:00:00 2001 From: scriptos Date: Wed, 12 Jun 2024 14:58:55 +0200 Subject: [PATCH] =?UTF-8?q?Docker-Compose=20Verion=20auf=20"v2.27.1"=20erh?= =?UTF-8?q?=C3=B6ht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-installer-ubuntu.v3.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-installer-ubuntu.v3.sh b/docker-installer-ubuntu.v3.sh index e36a486..18d3ecd 100644 --- a/docker-installer-ubuntu.v3.sh +++ b/docker-installer-ubuntu.v3.sh @@ -5,11 +5,14 @@ # Autor: Patrick Asmus # Web: https://www.techniverse.net # Git-Reposit.: https://git.techniverse.net/scriptos/linux-docker-installer -# Version: 3.4.1 +# Version: 3.4.2 # Datum: 12.06.2024 -# Modifikation: Aktualisierung des Docker Compose-Installationsbefehls auf 'latest' +# Modifikation: Docker-Compose Verion auf "v2.27.1" erhöht ##################################################### +# Variablen: +COMPOSEVERSION="v2.27.1" + # Betriebssystem und Version prüfen OS=$(lsb_release -is) VERSION=$(lsb_release -rs) @@ -53,7 +56,7 @@ mkdir -p $COMPOSE_DIR # Docker-compose installieren (gleicher Prozess für beide Versionen) sudo apt install -y curl -sudo curl -L "https://github.com/docker/compose/releases/download/latest/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose +sudo curl -L "https://github.com/docker/compose/releases/download/$COMPOSEVERSION/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose # Optional: Plugin für Oh my ZSH aktivieren