-
Notifications
You must be signed in to change notification settings - Fork 39
/
.gitpod.Dockerfile
27 lines (21 loc) · 1.05 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
FROM gitpod/workspace-postgres
ARG TRIGGER_REBUILD=1
USER root
ENV PROTOC_ZIP=protoc-3.7.1-linux-x86_64.zip
RUN curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/$PROTOC_ZIP && \
unzip -o $PROTOC_ZIP -d /usr/local bin/protoc && \
unzip -o $PROTOC_ZIP -d /usr/local 'include/*' && \
rm -f $PROTOC_ZIP
RUN curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
RUN curl -L https://download.docker.com/linux/static/stable/x86_64/docker-19.03.5.tgz | tar xz && \
mv docker/docker /usr/bin && \
rm -rf docker
RUN curl -o /usr/bin/k3s -L https://github.com/rancher/k3s/releases/download/v1.0.1/k3s && \
chmod +x /usr/bin/k3s
ENV LEEWAY_WORKSPACE_ROOT=/workspace/werft
RUN curl -L https://github.com/TypeFox/leeway/releases/download/v0.2.17/leeway_0.2.17_Linux_x86_64.tar.gz | tar xz && \
mv leeway /usr/bin/leeway && \
rm README.md
RUN curl -L https://get.helm.sh/helm-v3.3.0-rc.2-linux-amd64.tar.gz | tar xz linux-amd64/helm && \
mv linux-amd64/helm /usr/bin && \
rm -r linux-amd64