Skip to content

Instantly share code, notes, and snippets.

@Dougley
Forked from jeefy/install-rancher-compose.sh
Last active November 10, 2017 17:12
Show Gist options
  • Save Dougley/79ca0e9cdbb6bd9dfb0477dcf22eba3f to your computer and use it in GitHub Desktop.
Save Dougley/79ca0e9cdbb6bd9dfb0477dcf22eba3f to your computer and use it in GitHub Desktop.
Rancher Compose Install Script
#!/bin/bash
# To run locally: ` curl -s https://gist.githubusercontent.com/Dougley/79ca0e9cdbb6bd9dfb0477dcf22eba3f/raw/install-rancher-compose.sh | sh `
VERSION_NUM="0.12.5"
wget https://github.com/rancher/rancher-compose/releases/download/v${VERSION_NUM}/rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
tar zxf rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
rm rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
sudo mv rancher-compose-v${VERSION_NUM}/rancher-compose /usr/local/bin/rancher-compose
sudo chmod +x /usr/local/bin/rancher-compose
rm -r rancher-compose-v${VERSION_NUM}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment