Last active
February 15, 2019 21:58
-
-
Save nickyfoto/22f4f80c43908ea352ff366d32b807ac to your computer and use it in GitHub Desktop.
cloud9 initial 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
# set java | |
sudo yum -y update | |
sudo yum -y install java-1.8.0-openjdk-devel | |
sudo update-alternatives --config java | |
sudo update-alternatives --config javac | |
sudo yum -y update | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash | |
. ~/.bashrc | |
nvm install node | |
npm install -g yarn | |
# remove unused images | |
docker image prune -a | |
# install docker-compose | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment