File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.14
1
+ ARG GITPOD_VERSION="sje-external-db.2"
2
+
3
+ FROM eu.gcr.io/gitpod-core-dev/build/installer:$GITPOD_VERSION as installer
4
+
5
+ FROM alpine:edge
2
6
3
7
RUN apk add --no-cache \
4
8
bash \
@@ -8,6 +12,7 @@ RUN apk add --no-cache \
8
12
py3-pip \
9
13
yarn \
10
14
jq \
15
+ npm \
11
16
yq \
12
17
&& pip3 install --upgrade pip \
13
18
&& pip3 install \
@@ -17,25 +22,23 @@ RUN apk add --no-cache \
17
22
RUN curl -fsSL https://github.com/mikefarah/yq/releases/download/v4.12.0/yq_linux_amd64 -o /usr/local/bin/yq \
18
23
&& chmod +x /usr/local/bin/yq
19
24
20
- RUN curl -fsSL https://github.com/weaveworks/eksctl/releases/download/0.62 .0/eksctl_Linux_amd64.tar.gz | tar -xz -C /usr/local/bin
25
+ RUN curl -fsSL https://github.com/weaveworks/eksctl/releases/download/v0.74 .0/eksctl_Linux_amd64.tar.gz | tar -xz -C /usr/local/bin
21
26
22
27
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 \
23
28
&& chmod +x /usr/local/bin/kubectl
24
29
25
30
RUN curl -fsSL https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.5.3/aws-iam-authenticator_0.5.3_linux_amd64 -o /usr/local/bin/aws-iam-authenticator \
26
31
&& chmod +x /usr/local/bin/aws-iam-authenticator
27
32
33
+ COPY --from=installer /app/installer /usr/local/bin/gitpod-installer
34
+
28
35
WORKDIR /gitpod
29
36
30
- COPY package.json /gitpod/
31
- COPY yarn.lock /gitpod/
37
+ COPY . /gitpod
32
38
33
39
RUN yarn --pure-lockfile --non-interactive \
34
40
&& rm -rf /usr/local/share/.cache/yarn
35
41
36
- RUN yarn global add aws-cdk npx \
37
- && rm -rf /usr/local/share/.cache/yarn
38
-
39
- COPY . /gitpod
42
+ RUN npm install -g aws-cdk ts-node
40
43
41
44
ENTRYPOINT ["/gitpod/setup.sh" ]
You can’t perform that action at this time.
0 commit comments