File tree Expand file tree Collapse file tree 3 files changed +10
-22
lines changed Expand file tree Collapse file tree 3 files changed +10
-22
lines changed Original file line number Diff line number Diff line change @@ -50,3 +50,11 @@ RUN go install -v github.com/uudashr/gopkgs/cmd/gopkgs@v2 \
50
50
ENV SHFMT_VERSION=3.10.0
51
51
RUN curl -sSL -o /usr/local/bin/shfmt "https://github.com/mvdan/sh/releases/download/v${SHFMT_VERSION}/shfmt_v${SHFMT_VERSION}_linux_amd64" && \
52
52
chmod 755 /usr/local/bin/shfmt
53
+
54
+ # Install latest Leeway release
55
+ RUN . /tmp/go_platform.env && \
56
+ LATEST_LEEWAY_VERSION=$(curl -s https://api.github.com/repos/gitpod-io/leeway/releases/latest | grep '"tag_name"' | sed 's/.*"tag_name": "v\( [^"]*\) ".*/\1 /' ) && \
57
+ curl -L -o /tmp/leeway.tar.gz https://github.com/gitpod-io/leeway/releases/download/v${LATEST_LEEWAY_VERSION}/leeway_Linux_${GO_PLATFORM#linux-}.tar.gz && \
58
+ tar -xzf /tmp/leeway.tar.gz -C /tmp && \
59
+ install -m 755 /tmp/leeway /usr/local/bin/ && \
60
+ rm /tmp/leeway.tar.gz
Original file line number Diff line number Diff line change 2
2
"name" : " leeway" ,
3
3
"build" : {
4
4
"context" : " .." ,
5
- "dockerfile" : " ../.gitpod. Dockerfile"
5
+ "dockerfile" : " Dockerfile"
6
6
},
7
7
"runArgs" : [
8
8
" --privileged" ,
9
9
" --security-opt=seccomp=unconfined" ,
10
10
" --network=host"
11
11
],
12
12
"containerUser" : " root"
13
- }
13
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments