Dmitry Puzikov | ed4a579 | 2019-09-25 14:19:36 +0200 | [diff] [blame] | 1 | FROM python:3-alpine3.9 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | |
| 3 | ENV no_proxy "localhost,127.0.0.1,.cluster.local,$KUBERNETES_SERVICE_HOST" |
| 4 | # Setup Corporate proxy |
barak | 131c2a4 | 2017-06-27 02:45:02 +0300 | [diff] [blame] | 5 | ENV https_proxy ${HTTPS_PROXY} |
| 6 | ENV http_proxy ${HTTP_PROXY} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 8 | RUN pip install requests pyyaml kubernetes |
| 9 | |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 10 | ENV CERT="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" |
| 11 | ENV TOKEN="/var/run/secrets/kubernetes.io/serviceaccount/token" |
| 12 | |
Dmitry Puzikov | ed4a579 | 2019-09-25 14:19:36 +0200 | [diff] [blame] | 13 | COPY maven/ /root/ |
| 14 | RUN chmod -R a+x /root/ |
Mandeep Khinda | 67edf6d | 2018-03-26 23:30:25 +0000 | [diff] [blame] | 15 | |
Dmitry Puzikov | d0101df | 2019-04-25 14:33:48 +0200 | [diff] [blame] | 16 | ENTRYPOINT ["/root/ready.py"] |
| 17 | CMD [""] |