aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker/init/Dockerfile
diff options
context:
space:
mode:
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