-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
22 lines (16 loc) · 831 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM debian:stable-slim
LABEL "com.github.actions.name"="Pivotal Cloud Foundry (PCF) CLI"
LABEL "com.github.actions.description"="Deploy and Manage PWS, PCF, and Pivotal services using the latest version of the cf cli"
LABEL "com.github.actions.icon"="upload-cloud"
LABEL "com.github.actions.color"="green"
LABEL "repository"="https://github.com/d3sandoval/cloud-foundry-action"
LABEL "homepage"="http://github.com/actions"
LABEL "maintainer"="Daniel E. Sandoval <[email protected]>"
RUN apt-get update
RUN apt-get install -y ca-certificates uuid-runtime jq
ADD https://packages.cloudfoundry.org/stable?release=linux64-binary&source=github /tmp/cf-cli.tgz
RUN mkdir -p /usr/local/bin && \
tar -xzf /tmp/cf-cli.tgz -C /usr/local/bin && \
cf --version
ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]