blob: 638e8efd67cceb75ca21a9cc02fc5e5483968006 [file] [log] [blame]
Dmitry Puzikoved4a5792019-09-25 14:19:36 +02001FROM python:3-alpine3.9
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002
3ENV no_proxy "localhost,127.0.0.1,.cluster.local,$KUBERNETES_SERVICE_HOST"
4# Setup Corporate proxy
barak131c2a42017-06-27 02:45:02 +03005ENV https_proxy ${HTTPS_PROXY}
6ENV http_proxy ${HTTP_PROXY}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007
Mandeep Khindad6ea9872017-06-24 11:49:37 -04008RUN pip install requests pyyaml kubernetes
9
Mandeep Khindad6ea9872017-06-24 11:49:37 -040010ENV CERT="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
11ENV TOKEN="/var/run/secrets/kubernetes.io/serviceaccount/token"
12
Dmitry Puzikoved4a5792019-09-25 14:19:36 +020013COPY maven/ /root/
14RUN chmod -R a+x /root/
Mandeep Khinda67edf6d2018-03-26 23:30:25 +000015
Dmitry Puzikovd0101df2019-04-25 14:33:48 +020016ENTRYPOINT ["/root/ready.py"]
17CMD [""]