aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker
diff options
context:
space:
mode:
authorBorislavG <Borislav.Glozman@amdocs.com>2017-09-07 18:59:38 +0300
committerBorislavG <Borislav.Glozman@amdocs.com>2017-09-07 19:01:19 +0300
commitb751c36e0dd4da475ed8a23a8f66fa537dce8d48 (patch)
treee342325a004252ef102ccdaeaee058478fbf3c60 /kubernetes/config/docker
parent66a9a5c4a387974e81b210fc9fa0024239582027 (diff)
Fix config-init docker volume mapping on nfs
On some kubernetes deployments there is a conflict when a volume in docker image is mounted in kubernetes over NFS. files / directories created inside the container are not visible inside / outside of the container. Removing VOLUME declaration from the Dockerfile solve this problem. Change-Id: I05081a21a64c08e7ad19403a80ad1195a5bd8cb4 Issue-ID: OOM-290 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
Diffstat (limited to 'kubernetes/config/docker')
-rw-r--r--kubernetes/config/docker/init/Dockerfile1
1 files changed, 0 insertions, 1 deletions
diff --git a/kubernetes/config/docker/init/Dockerfile b/kubernetes/config/docker/init/Dockerfile
index 9f6a3632b7..a1eb021b69 100644
--- a/kubernetes/config/docker/init/Dockerfile
+++ b/kubernetes/config/docker/init/Dockerfile
@@ -1,7 +1,6 @@
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/