Last active
August 29, 2015 14:12
-
-
Save sjwaight/eee6d73544da9ddb6c9a to your computer and use it in GitHub Desktop.
Bash Script to setup our Docker management host.
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 | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
# pull down the necessary bits to install node | |
curl -sL https://rpm.nodesource.com/setup | bash - | |
# install Node.js | |
yum install -y nodejs | |
# install Azure XPlat CLI | |
npm install azure-cli -g | |
# install core Git (scm) - required to pull our Dockerfile | |
yum install git-core | |
# install Docker so we get the native management tooling | |
yum install docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment