-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.Dockerfile
22 lines (16 loc) · 1.02 KB
/
.gitpod.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM gitpod/workspace-full
ENV NODE_ENV=dev PORT=3000 AWS_CLI_VERSION=2.0.30 AWS_COPILOT_VERSION=v1.7.1 CLOUD_NUKE_VERSION=v0.1.30
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI_VERSION}.zip" -o "awscliv2.zip" &&\
unzip awscliv2.zip &&\
sudo ./aws/install
RUN wget https://github.com/aws/copilot-cli/releases/download/${AWS_COPILOT_VERSION}/copilot-linux-amd64-${AWS_COPILOT_VERSION} &&\
chmod +x ./copilot-linux-amd64-${AWS_COPILOT_VERSION} &&\
sudo mv ./copilot-linux-amd64-${AWS_COPILOT_VERSION} /usr/local/bin/copilot
### Install cloud nuke from github releases
### https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.1.30
RUN wget https://github.com/gruntwork-io/cloud-nuke/releases/download/${CLOUD_NUKE_VERSION}/cloud-nuke_linux_amd64 &&\
chmod +x ./cloud-nuke_linux_amd64 &&\
sudo mv ./cloud-nuke_linux_amd64 /usr/local/bin/cloud-nuke
### Install cloud nuke from home brew without pin version
### https://github.com/jckuester/awsls#installation
RUN brew install jckuester/tap/awsls