Add docker compose to docker install

pull/142/head
modem7 2024-04-24 16:11:27 +01:00
rodzic e962dd0e27
commit 8416343d33
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2C37853D96B6D9E9
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -2,11 +2,13 @@
# Install DockerCLI if true
if [ "${DOCKERCLI:-}" == "true" ]; then
echo "Installing Docker CLI..."
apk add -U --quiet docker-cli
echo "Installing Docker CLI and Compose..."
apk add -U --quiet docker-cli docker-cli-compose
dockerver=$(docker --version | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
composever=$(docker compose version | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
else
dockerver="not installed"
composever="not installed"
fi
# Version variables
@ -22,6 +24,7 @@ apprise $apprisever
$borgver
borgmatic $borgmaticver
dockercli $dockerver
composecli $composever
python $pythonver
-----------------------------------
Time Zone: $TZ