File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
ci/dockerfiles/deployment Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,11 @@ RUN wget https://github.com/stedolan/jq/releases/latest/download/jq-linux64 && \
52
52
chmod +x /usr/local/bin/jq
53
53
54
54
# Install bosh_cli v2
55
- RUN curl -L "https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-$(curl -s https://api.github.com/repos/cloudfoundry/bosh-cli/releases | jq -r '.[0].name' | tr -d 'v')-linux-amd64" -o "/usr/local/bin/bosh" && \
56
- chmod +x "/usr/local/bin/bosh"
55
+ RUN curl -s https://api.github.com/repos/cloudfoundry/bosh-cli/releases/latest | \
56
+ jq -r '.assets[] | .browser_download_url | select(contains("linux-amd64"))' | \
57
+ xargs wget && \
58
+ mv bosh-cli-* /usr/local/bin/bosh && \
59
+ chmod +x /usr/local/bin/bosh
57
60
58
61
# Install bbl
59
62
RUN curl -s https://api.github.com/repos/cloudfoundry/bosh-bootloader/releases/latest | \
You can’t perform that action at this time.
0 commit comments