forked from CaravanaCloud/blink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.Dockerfile
30 lines (24 loc) · 966 Bytes
/
.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
# docker build --no-cache --progress=plain -f .gitpod.Dockerfile .
FROM gitpod/workspace-full-vnc
# System
RUN bash -c "sudo apt-get update"
RUN bash -c "sudo pip install --upgrade pip"
# Java
ARG JAVA_SDK="17.0.8-amzn"
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \
&& sdk install java $JAVA_SDK \
&& sdk default java $JAVA_SDK \
&& sdk install quarkus \
&& sdk install maven \
"
# AWS CLIs
RUN bash -c "curl 'https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip' -o 'awscliv2.zip' && unzip awscliv2.zip \
&& sudo ./aws/install \
&& aws --version \
"
RUN bash -c "npm install -g aws-cdk"
ARG SAM_URL="https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip"
RUN bash -c "curl -Ls '${SAM_URL}' -o '/tmp/aws-sam-cli-linux-x86_64.zip' \
&& unzip '/tmp/aws-sam-cli-linux-x86_64.zip' -d '/tmp/sam-installation' \
&& sudo '/tmp/sam-installation/install' \
&& sam --version"