Last active
August 17, 2018 14:47
-
-
Save jeff1985/ae8488d328a2dba844e5b8c15914e6be to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
sudo apt-get update && sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
#5 | |
sudo apt-get update && sudo apt install --yes docker-ce nodejs npm mongodb-clients | |
#6 | |
sudo apt-get upgrade --yes | |
#7 | |
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
# | |
docker version | |
#10 | |
sudo npm install -g bower | |
sudo ln -s /usr/bin/nodejs /usr/bin/node | |
#11 | |
sudo usermod -aG docker $USER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment