forked from combor/bosh-tools-ubuntu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3897f7e
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM ubuntu:18.04 | ||
|
||
## Have to use this due to default interactive tzdata config | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
ENV BOSH2_VERSION 2.0.48 | ||
ENV BOSH2_URL https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-${BOSH2_VERSION}-linux-amd64 | ||
ENV BOSH2_PACKAGES "openssl openssh-client wget curl jq sshpass rsync make tzdata ca-certificates" | ||
|
||
RUN apt-get update | ||
RUN apt-get -y upgrade | ||
RUN apt-get install -y --no-install-recommends ${BOSH2_PACKAGES} | ||
|
||
RUN wget -q -O /usr/local/bin/bosh --no-check-certificate ${BOSH2_URL} | ||
RUN chmod +x /usr/local/bin/bosh | ||
|
||
RUN curl -L https://github.com/mikefarah/yq/releases/download/1.14.0/yq_linux_amd64 -o yq && chmod +x yq && mv yq /usr/local/bin/yq | ||
RUN ln -s /usr/local/bin/yq /usr/local/bin/yaml | ||
|
||
RUN apt-get clean | ||
|
||
RUN rm -rf /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Ubuntu based bosh-cli |