Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cf6 to latest stable and add latest stable cf7 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions cf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
FROM orangeopensource/concourse:base

ARG CF_CLI_VERSION="6.47.2"
ARG CF6_CLI_VERSION="6.53.0"
ARG CF7_CLI_VERSION="7.2.0"
ARG AUTOPILOT_VERSION="0.0.8"
ARG ANTIFREEZE_VERSION="0.4.0"
ARG BG_RESTAGE_VERSION="1.1.0"

LABEL description="This image contains cf-${CF_CLI_VERSION} with \
LABEL description="This image contains cf-${CF6_CLI_VERSION} and cf-${CF7_CLI_VERSION} with \
autopilot-${AUTOPILOT_VERSION}, \
antifreeze-${ANTIFREEZE_VERSION}, \
and restage-${BG_RESTAGE_VERSION} \
plugins."

RUN curl -LSs "https://cli.run.pivotal.io/stable?release=linux64-binary&version=${CF_CLI_VERSION}" | \
RUN curl -LSs "https://cli.run.pivotal.io/stable?release=linux64-binary&version=${CF6_CLI_VERSION}" | \
tar -zvx -C /usr/local/bin -- cf

RUN curl -LSs "https://cli.run.pivotal.io/stable?release=linux64-binary&version=${CF7_CLI_VERSION}" | \
tar -zvx -C /usr/local/bin -- cf7

RUN cf install-plugin -f \
"https://github.com/contraband/autopilot/releases/download/${AUTOPILOT_VERSION}/autopilot-linux"

Expand Down