Merge "modiyf my.cnf dir as /etc/my.cnf"
authorYan Yang <yangyanyj@chinamobile.com>
Wed, 18 Oct 2017 00:08:22 +0000 (00:08 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 18 Oct 2017 00:08:22 +0000 (00:08 +0000)
nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile

index 74a369d..05d261a 100755 (executable)
@@ -26,7 +26,7 @@ RUN yum -y update
 RUN yum -y install -y mysql-server
 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