summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-05-11 15:03:44 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-06-04 07:56:23 +0000
commit2faa6e6b9703f12bbbfc355241f99b46fdce0bbb (patch)
treedebdd96f98907356beb7e89386c083619a257256 /Dockerfile
parent92fe1c430065310244cf33a726dc0d14505e1436 (diff)
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
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
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 [""]