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 | |
sudo amazon-linux-extras install -y docker | |
sudo service docker start | |
sudo usermod -a -G docker ec2-user | |
sudo chkconfig docker on | |
sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
sudo yum install -y gcc-c++ make | |
curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - | |
sudo yum install -y nodejs git |