Initial commit of script
Add the script and the Dockerfile
Make the script pass pylint (one issue left)
Make Dockerfile from base ONAP image
Issue-ID: OOM-2418
Issue-ID: OOM-761
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ia93e3e85a16c764eca0c14af2dbe166117ea769a
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..58434c0
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,9 @@
+FROM nexus3.onap.org:10001/onap/integration-python:7.0.0
+
+ENV CERT="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
+ENV TOKEN="/var/run/secrets/kubernetes.io/serviceaccount/token"
+
+COPY ready.py .
+
+ENTRYPOINT ["/usr/onap/ready.py"]
+CMD [""]