summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryufei_zhou <yufei.zhou@nokia-sbell.com>2017-10-17 19:37:53 +0800
committeryufei_zhou <yufei.zhou@nokia-sbell.com>2017-10-17 21:19:44 +0800
commit66284b4c1b95b0072573b4d88603bf37a02da492 (patch)
tree7b5a74d581993bfbdd64bf3df9b64e6ca639f653
parent24fadbc02a76cbd6aa93aa6ff49b48157790f462 (diff)
modiyf my.cnf dir as /etc/my.cnf
Change-Id: I837b339fcd3ae92b2d73cf5064d6be7bd3138c88 Issue-ID: VFC-54 Signed-off-by: yufei_zhou <yufei.zhou@nokia-sbell.com>
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
index 6313bca7..05d261a9 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
@@ -24,10 +24,9 @@ WORKDIR /service
RUN wget -q http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm && rpm -ivh mysql-community-release-el7-5.noarch.rpm && rm -f mysql-community-release-el7-5.noarch.rpm
RUN yum -y update
RUN yum -y install -y mysql-server
-RUN yum -y install -y mysql-client
RUN mysql_install_db --user=mysql --datadir=/var/lib/mysql
EXPOSE 3306
-RUN sed -i "s|bind-address.*|# bind-address = 127.0.0.1|" /etc/mysql/my.cnf
+RUN sed -i "s|bind-address.*|# bind-address = 127.0.0.1|" /etc/my.cnf
COPY init-mysql.sh .
# 30-tomcat.txt - AUTOGENERATED, DO NOT MODIFY MANUALLY