-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitpod.Dockerfile
29 lines (23 loc) · 1.26 KB
/
.gitpod.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM gitpod/workspace-full
USER gitpod
# install deno
# version below is duplicated in Github Workflow files
RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.20.3
RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno
#install zx
# version below is duplicated in Github Workflow files
RUN npm i -g [email protected]
#install cosign
# version below is duplicated in Github Workflow files
RUN wget "https://github.com/sigstore/cosign/releases/download/v1.6.0/cosign-linux-amd64"
RUN mkdir -p /home/gitpod/.cosign/bin/ && mv cosign-linux-amd64 /home/gitpod/.cosign/bin/cosign
ENV PATH=$PATH:/home/gitpod/.cosign/bin
RUN chmod +x /home/gitpod/.cosign/bin/cosign
#install aws cli
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.5.4.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN mkdir -p /home/gitpod/.aws-cli/files /home/gitpod/.aws-cli/bin/ && ./aws/install --install-dir /home/gitpod/.aws-cli/files --bin-dir /home/gitpod/.aws-cli/bin/
ENV PATH=$PATH:/home/gitpod/.aws-cli/bin/
RUN rm awscliv2.zip
#install Cloudformation template tools
RUN pip install cfn-lint