-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aed6ec1
commit 4044f79
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
sudo yum update -y | ||
sudo yum install -y docker git golang | ||
sudo systemctl enable --now docker | ||
sudo usermod -a -G docker ec2-user | ||
|
||
# Install the docker compose plugin for all users | ||
sudo mkdir -p /usr/local/lib/docker/cli-plugins | ||
|
||
sudo curl -sL https://github.com/docker/compose/releases/latest/download/docker-compose-linux-"$(uname -m)" \ | ||
-o /usr/local/lib/docker/cli-plugins/docker-compose | ||
|
||
# Set ownership to root and make executable | ||
test -f /usr/local/lib/docker/cli-plugins/docker-compose \ | ||
&& sudo chown root:root /usr/local/lib/docker/cli-plugins/docker-compose | ||
test -f /usr/local/lib/docker/cli-plugins/docker-compose \ | ||
&& sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose | ||
|
||
git clone -b prod-business https://github.com/GenerateNU/sac |