summaryrefslogtreecommitdiffstats
path: root/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2017-10-25 13:32:58 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-25 13:32:58 +0000
commitb1056d9e2ec732b94e2b374879bd9224f000e9ae (patch)
tree11f2a922424412884b3598471cbe5be0c957d73d /nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
parentf2d4091d392ff342207a31b73bb3805b1fce9a7b (diff)
parenta811f4ee807f476de66dcde5a299c2af6648b89b (diff)
Merge "remove unnecessary part"
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile')
-rwxr-xr-xnokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile5
1 files changed, 0 insertions, 5 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
index f538ccf2..05d261a9 100755
--- a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
+++ b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile
@@ -10,10 +10,6 @@ FROM centos:7
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 rpm --rebuilddb
-RUN yum clean all
-
RUN yum update -y
RUN yum install -y wget unzip socat java-1.8.0-openjdk-headless
@@ -29,7 +25,6 @@ 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
-RUN chown mysql:mysql /var/lib/mysql -R
EXPOSE 3306
RUN sed -i "s|bind-address.*|# bind-address = 127.0.0.1|" /etc/my.cnf
COPY init-mysql.sh .