summaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker/init/Dockerfile
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-06-24 11:49:37 -0400
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-06-24 11:49:37 -0400
commitd6ea987caed84a9f36030a5a1516df7c6186362d (patch)
tree265dda9cfb43a78542e4b2ccac382a8a5583bc56 /kubernetes/config/docker/init/Dockerfile
parent43d96ac929c93d0aa2a55d860e0425a39118f7b4 (diff)
onap on kubernetes source files
Change-Id: I4de34baf90979651223a28323010deb7aef21946 Signed-off-by: Mandeep Khinda <Mandeep.Khinda@amdocs.com>
Diffstat (limited to 'kubernetes/config/docker/init/Dockerfile')
-rw-r--r--kubernetes/config/docker/init/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/Dockerfile b/kubernetes/config/docker/init/Dockerfile
new file mode 100644
index 0000000000..9f6a3632b7
--- /dev/null
+++ b/kubernetes/config/docker/init/Dockerfile
@@ -0,0 +1,10 @@
+from ubuntu:16.04
+
+RUN mkdir -p /opt/config/src/
+VOLUME /config-init/
+
+COPY onap-cfg.tar.gz /tmp/
+RUN tar -zxvf /tmp/onap-cfg.tar.gz -C /opt/config/src/
+COPY config-init.sh /root/config-init.sh
+RUN chmod a+x /root/config-init.sh
+ENTRYPOINT /root/config-init.sh