From c3cb8e7608182e526e3d513cb7184ab462410755 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Sat, 29 Oct 2022 12:45:36 +0200 Subject: [PATCH] Install docker-compose standalone --- install-docker-portainer | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install-docker-portainer b/install-docker-portainer index cb24821..675f43c 100644 --- a/install-docker-portainer +++ b/install-docker-portainer @@ -10,7 +10,10 @@ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docke # update package lists and install docker engine + docker-compose apt update -DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -qq --no-install-recommends docker-ce docker-ce-cli containerd.io docker-compose +DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -qq --no-install-recommends docker-ce docker-ce-cli containerd.io + +dc_version=$(wget -O - -q https://api.github.com/repos/docker/compose/releases/latest | grep -m1 "\"name\":" | cut -d'"' -f4) +wget -O /usr/local/bin/docker-compose https://github.com/docker/compose/releases/download/${dc_version}/docker-compose-linux-x86_64 # install portainer cd /portainer