Last active
April 6, 2025 07:33
-
-
Save jeefy/7fed19a335d5caae24639e7ee7be1b71 to your computer and use it in GitHub Desktop.
Rancher Compose Install Script
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 | |
# To run locally: ` curl -s https://gist.githubusercontent.com/jeefy/7fed19a335d5caae24639e7ee7be1b71/raw/install-rancher-compose.sh | sh ` | |
VERSION_NUM="0.9.2" | |
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} |
Good catch.
Thank you !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
line 7
wget https://github.com/rancher/rancher-compose/releases/download/v${VERSION_NUM}/rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz