summaryrefslogtreecommitdiffstats
path: root/kubernetes/readiness/docker/init/Dockerfile
diff options
context:
space:
mode:
authorDmitry Puzikov <dmitry.puzikov@tieto.com>2019-09-25 14:19:36 +0200
committerDmitry Puzikov <dmitry.puzikov@tieto.com>2019-10-15 10:42:36 +0200
commited4a579fcddbb3028f7668923fa83d756bdf2f8f (patch)
treed3fb7da40d23e4fe8ad037d8809b1e9b2ce98e50 /kubernetes/readiness/docker/init/Dockerfile
parent8b763cd0c644dec143482e40ab54710d983cacfa (diff)
Mavenized image creation for readiness-check
Issue-ID: INT-1045 Change-Id: I9c7b7fd26c8f376600aa7efc9c1d9e2eee001cde Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
Diffstat (limited to 'kubernetes/readiness/docker/init/Dockerfile')
-rw-r--r--kubernetes/readiness/docker/init/Dockerfile20
1 files changed, 0 insertions, 20 deletions
diff --git a/kubernetes/readiness/docker/init/Dockerfile b/kubernetes/readiness/docker/init/Dockerfile
deleted file mode 100644
index b060915354..0000000000
--- a/kubernetes/readiness/docker/init/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-FROM python:2-alpine
-
-ENV no_proxy "localhost,127.0.0.1,.cluster.local,$KUBERNETES_SERVICE_HOST"
-# Setup Corporate proxy
-ENV https_proxy ${HTTPS_PROXY}
-ENV http_proxy ${HTTP_PROXY}
-
-RUN pip install requests pyyaml kubernetes
-
-ENV CERT="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
-ENV TOKEN="/var/run/secrets/kubernetes.io/serviceaccount/token"
-
-COPY ready.py /root/ready.py
-RUN chmod a+x /root/ready.py
-
-COPY job_complete.py /root/job_complete.py
-RUN chmod a+x /root/job_complete.py
-
-ENTRYPOINT ["/root/ready.py"]
-CMD [""] \ No newline at end of file