Skip to content

Commit

Permalink
fix script syntax and update to latest cf cli
Browse files Browse the repository at this point in the history
  • Loading branch information
DreaminDani committed Jul 14, 2019
1 parent fedcb1c commit af4fa35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LABEL "maintainer"="Daniel E. Sandoval <[email protected]>"
RUN apt-get update
RUN apt-get install -y ca-certificates uuid-runtime jq

ADD https://cli.run.pivotal.io/stable?release=linux64-binary&version=6.19.0 /tmp/cf-cli.tgz
ADD https://packages.cloudfoundry.org/stable?release=debian64&source=github /tmp/cf-cli.tgz

RUN mkdir -p /usr/local/bin && \
tar -xzf /tmp/cf-cli.tgz -C /usr/local/bin && \
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ -n "$CF_USERNAME" ] && [ -n "$CF_PASSWORD" ]; then
cf auth "$CF_USERNAME" "$CF_PASSWORD"
fi

if [ -n "$CF_TARGET" ] then
if [ -n "$CF_TARGET" ]; then
cf target "$CF_TARGET"
fi

Expand Down

0 comments on commit af4fa35

Please sign in to comment.