Merge "add priviledge to systemctrl"
authorFu Jinhua <fu.jinhua@zte.com.cn>
Wed, 25 Oct 2017 06:02:27 +0000 (06:02 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 25 Oct 2017 06:02:27 +0000 (06:02 +0000)
nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile

index 77ae678..f538ccf 100755 (executable)
@@ -6,13 +6,12 @@
 
 # 10-basebuild.txt
 
-FROM centos:7.2.1511
+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 && \
-yum -y swap -- remove fakesystemd -- install systemd systemd-libs 
+RUN rpm --rebuilddb
 RUN yum clean all
 
 RUN yum update -y