Created
September 25, 2015 13:14
-
-
Save marszall87/ee7c5ea6f6da9f8968dd to your computer and use it in GitHub Desktop.
Simple script for installing latest Docker Compose on CoreOS >= 717.0.0
This file contains hidden or 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 | |
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 |
curl -L https://git.io/vrBuA | sudo sh
@marszall87 I wonder how many people will run that without inspecting the link contents? 😆
@emcniece I guess that a lot ;) TBH they should make docker-compose
a part of docker, so we didn't have to create these weird scripts...
^
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for happiness