summaryrefslogtreecommitdiffstats
path: root/nokia/vnfmdriver/vfcadaptorservice
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2018-04-26 13:09:06 +0800
committeryangyan <yangyanyj@chinamobile.com>2018-04-26 13:09:11 +0800
commit2322725653143b3b8dd3b764273f5161c1f32104 (patch)
treee2f9ab48966705ab19461c34279c5f813c672160 /nokia/vnfmdriver/vfcadaptorservice
parent8061fe4d9ccbbd20ee18fc8c209216d776d200eb (diff)
Fix database start error in multi-nodes k8s env
Issue-ID: VFC-889 Change-Id: I0619dc6a093968b8c00e036594b364d3566fb0e6 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice')
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
index bd9f279a..e4ed3756 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
@@ -8,6 +8,8 @@
FROM centos:7
+VOLUME /var/lib/mysql
+
RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
RUN sed -i 's|#baseurl=http://mirror.centos.org/centos|baseurl=http://mirrors.ocf.berkeley.edu/centos|' /etc/yum.repos.d/*.repo
RUN yum update -y