From 66284b4c1b95b0072573b4d88603bf37a02da492 Mon Sep 17 00:00:00 2001 From: yufei_zhou Date: Tue, 17 Oct 2017 19:37:53 +0800 Subject: modiyf my.cnf dir as /etc/my.cnf Change-Id: I837b339fcd3ae92b2d73cf5064d6be7bd3138c88 Issue-ID: VFC-54 Signed-off-by: yufei_zhou --- nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile') 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 -- cgit 1.2.3-korg