blob: d42456d336dae0ddfbc1f8d1c17e070ab34fbefe [file] [log] [blame]
Marek Wolczanski63f2cc92017-10-03 14:55:19 +02001from ubuntu:16.04
2
3ENV no_proxy "localhost,127.0.0.1,.cluster.local,$KUBERNETES_SERVICE_HOST"
4# Setup Corporate proxy
5ENV https_proxy ${HTTPS_PROXY}
6ENV http_proxy ${HTTP_PROXY}
7
8# Additional packages
9RUN apt-get update
10RUN apt-get install -y apt-utils git wget curl dnsutils python python-pip jq net-tools coreutils vim
11
12RUN pip install requests pyyaml kubernetes==1.0.2
13
14
15ENV CERT="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
16ENV TOKEN="/var/run/secrets/kubernetes.io/serviceaccount/token"
17
18COPY ready.py /root/ready.py
19RUN chmod a+x /root/ready.py
20#ENTRYPOINT /root/ready.py
21