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 \
5050ENV SHFMT_VERSION=3.10.0
5151RUN curl -sSL -o /usr/local/bin/shfmt "https://github.com/mvdan/sh/releases/download/v${SHFMT_VERSION}/shfmt_v${SHFMT_VERSION}_linux_amd64" && \
5252 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 22 "name" : " leeway" ,
33 "build" : {
44 "context" : " .." ,
5- "dockerfile" : " ../.gitpod. Dockerfile"
5+ "dockerfile" : " Dockerfile"
66 },
77 "runArgs" : [
88 " --privileged" ,
99 " --security-opt=seccomp=unconfined" ,
1010 " --network=host"
1111 ],
1212 "containerUser" : " root"
13- }
13+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments