Fix config-init docker volume mapping on nfs 77/10877/1
authorBorislavG <Borislav.Glozman@amdocs.com>
Thu, 7 Sep 2017 15:59:38 +0000 (18:59 +0300)
committerBorislavG <Borislav.Glozman@amdocs.com>
Thu, 7 Sep 2017 16:01:19 +0000 (19:01 +0300)
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>
kubernetes/config/docker/init/Dockerfile

index 9f6a363..a1eb021 100644 (file)
@@ -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/