From 40636aaecea49eb490f0acbb313e02ebf73a1526 Mon Sep 17 00:00:00 2001 From: "Tobias \"Knight\" S" Date: Sat, 6 Oct 2018 04:25:14 +0200 Subject: [PATCH] Use GitHub API for docker-compose download --- docs/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index 8e9fd4d6e..b4459e2b9 100644 --- a/docs/install.md +++ b/docs/install.md @@ -14,7 +14,7 @@ systemctl start docker.service - 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 ```