Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Commit

Permalink
Installed cf-cli on the Jenkins master
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Jun 7, 2017
1 parent 5da7f8b commit 76782d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jenkins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ RUN apt-get update && \
apt-get install -y ruby curl && \
apt-get clean

# Install cf-cli
RUN apt-get -y install apt-transport-https
RUN wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
RUN echo "deb http://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
RUN apt-get -y update
RUN apt-get -y install cf-cli

USER jenkins

# You can use Jenkins API to generate the list of plugins from a running
Expand Down

0 comments on commit 76782d2

Please sign in to comment.