VFC Containers not coming up using K8s 05/45405/1
authorAmrita Girase <amrita.girase@amdocs.com>
Tue, 1 May 2018 08:48:46 +0000 (08:48 +0000)
committerAmrita Girase <amrita.girase@amdocs.com>
Tue, 1 May 2018 08:50:49 +0000 (08:50 +0000)
Issue-ID: VFC-894

Change-Id: I7d6ab40d60a0e4603c55976dfc4967a30cf68ffe
Signed-off-by: Amrita Girase <amrita.girase@amdocs.com>
juju/juju-vnfmadapter/Juju-vnfmadapterService/docker/Dockerfile

index 5d01819..662362f 100644 (file)
@@ -15,6 +15,9 @@ RUN wget -q http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm && rp
 RUN yum -y update
 RUN yum -y install -y mysql-server
 RUN mysql_install_db --user=mysql --datadir=/var/lib/mysql
+
+VOLUME /var/lib/mysql
+
 COPY init-mysql.sh .
 
 # 30-tomcat.txt - AUTOGENERATED, DO NOT MODIFY MANUALLY