-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.Dockerfile
46 lines (38 loc) · 1.48 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM gitpod/workspace-full
# More information: https://www.gitpod.io/docs/config-docker/
USER root
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install --no-install-recommends \
groff \
vim \
jq \
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
RUN echo "deb https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
&& apt-get -y install apt-transport-https ca-certificates gnupg \
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \
&& apt-get update && apt-get -y install google-cloud-sdk \
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - \
&& apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" \
&& apt-get update && sudo apt-get -y install terraform \
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
USER gitpod
RUN pip3 install awscli \
&& pip3 install aws-sam-cli \
&& pip3 install ansible \
&& pip3 install argcomplete \
&& rm -rf /tmp/pip-tmp \
&& echo 'complete -C aws_completer aws' >> ~/.bashrc \
&& echo 'activate-global-python-argcomplete' >> ~/.bashrc
RUN npm install -g aws-cdk
ENV DEBIAN_FRONTEND=dialog