Last active
November 24, 2015 19:11
-
-
Save itwars/ef0fc1ccc60b25489d93 to your computer and use it in GitHub Desktop.
Always download the latest version of docker-compose for Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://github.com/docker/compose/releases/latest | sed -e 's#<html><body>You are being <a href="https://github.com/docker/compose/releases/tag/##g' -e 's#">redirected</a>.</body></html>##' | xargs -0 -I % curl -L https://github.com/docker/compose/releases/download/%/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null; sudo chmod +x /usr/local/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment