-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
30 lines (22 loc) · 1.29 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ubuntu
RUN apt-get update \
&& apt-get install -y unzip openssl curl wget vim ruby sshpass build-essential \
&& apt-get clean
RUN curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 -o /usr/local/bin/jq \
&& chmod +x /usr/local/bin/jq
RUN curl -L https://github.com/mikefarah/yq/releases/download/1.14.1/yq_linux_amd64 -o /usr/local/bin/yaml \
&& chmod +x /usr/local/bin/yaml \
&& ln -s /usr/local/bin/yaml /usr/local/bin/yq
RUN curl -L https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/1.7.5/credhub-linux-1.7.5.tgz -o credhub-linux-1.7.5.tgz \
&& tar xvf credhub-linux-1.7.5.tgz -C /usr/local/bin/ \
&& chmod +x /usr/local/bin/credhub \
&& rm credhub-linux-1.7.5.tgz
RUN curl -L https://github.com/pivotalservices/cf-mgmt/releases/download/v0.0.87/cf-mgmt-linux -o /usr/local/bin/cf-mgmt \
&& chmod +x /usr/local/bin/cf-mgmt
RUN curl -L https://github.com/pivotalservices/cf-mgmt/releases/download/v0.0.87/cf-mgmt-config-linux -o /usr/local/bin/cf-mgmt-config \
&& chmod +x /usr/local/bin/cf-mgmt-config
RUN wget https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-2.0.48-linux-amd64 \
&& mv bosh-cli-2.0.48-linux-amd64 /usr/bin/bosh \
&& chmod +x /usr/bin/bosh
COPY verify_image.sh /tmp/verify_image.sh
RUN /tmp/verify_image.sh