Skip to content

Commit

Permalink
fix(dockerfiles/bosh-cli): Install bosh CLI pre-reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlong committed Oct 5, 2023
1 parent 4a078c0 commit 66c189a
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions dockerfiles/bosh-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@ FROM cloudfoundry/relint-base

# bosh-cli
ARG bosh_cli_version
RUN \
wget https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-${bosh_cli_version}-linux-amd64 --output-document="/usr/bin/bosh" && \
cd /usr/bin && \
chmod +x bosh
RUN set -eux; \
apt-get -y install \
build-essential \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libxml2-dev \
libxslt1-dev \
libyaml-dev \
openssl \
sqlite3 \
zlib1g-dev; \
url="https://github.com/cloudfoundry/bosh-cli/releases/download/v${bosh_cli_version}/bosh-cli-${bosh_cli_version}-linux-amd64"; \
wget "${url}" -O /usr/local/bin/bosh; \
chmod +x /usr/local/bin/bosh; \
bosh --version

# bbl and dependencies
ARG bbl_version
Expand Down

0 comments on commit 66c189a

Please sign in to comment.