Skip to content

Instantly share code, notes, and snippets.

@sjwaight
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjwaight/eee6d73544da9ddb6c9a to your computer and use it in GitHub Desktop.
Save sjwaight/eee6d73544da9ddb6c9a to your computer and use it in GitHub Desktop.
Bash Script to setup our Docker management host.
#!/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