Use GitHub API for docker-compose download

Dieser Commit ist enthalten in:
Tobias "Knight" S 2018-10-06 04:25:14 +02:00 committet von GitHub
Ursprung 6183ef3a23
Commit 40636aaece
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -14,7 +14,7 @@ systemctl start docker.service
- Docker-Compose - Docker-Compose
``` ```
curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose curl -#L https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d '"' -f 4)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose
``` ```