Created
March 1, 2017 10:31
-
-
Save edwardsharp/50365369bc20c8229749c92952accc8d to your computer and use it in GitHub Desktop.
install docker compose sh
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
#!/bin/bash | |
#this will setup docker-compose on a coreOS (or similar) box | |
# use sudo ./install-docker.compose.sh | |
mkdir -p /opt/bin | |
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose | |
chmod +x /opt/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment