-
Notifications
You must be signed in to change notification settings - Fork 18
/
Dockerfile
36 lines (27 loc) · 963 Bytes
/
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
FROM alpine:edge
RUN apk add --no-cache \
bash \
curl \
nodejs \
python3 \
py3-pip \
yarn \
jq \
npm \
yq \
openssl \
&& pip3 install --upgrade pip \
&& pip3 install \
awscli \
&& rm -rf /root/.cache
RUN curl -fsSL https://github.com/mikefarah/yq/releases/download/v4.12.0/yq_linux_amd64 -o /usr/local/bin/yq \
&& chmod +x /usr/local/bin/yq
RUN curl -fsSL https://github.com/weaveworks/eksctl/releases/download/v0.100.0/eksctl_Linux_amd64.tar.gz | tar -xz -C /usr/local/bin
RUN curl -fsSL "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" -o /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl
WORKDIR /gitpod
COPY . /gitpod
RUN yarn --pure-lockfile --non-interactive \
&& rm -rf /usr/local/share/.cache/yarn
RUN npm install -g aws-cdk ts-node
ENTRYPOINT ["/gitpod/setup.sh"]