kopia lustrzana https://github.com/modem7/docker-borgmatic
Add docker compose to docker install
rodzic
e962dd0e27
commit
8416343d33
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue