diff options
author | yufei_zhou <yufei.zhou@nokia-sbell.com> | 2017-10-25 06:59:18 +0800 |
---|---|---|
committer | yufei_zhou <yufei.zhou@nokia-sbell.com> | 2017-10-25 06:59:18 +0800 |
commit | fd0622a54e631438d0016064d8800ace6320e809 (patch) | |
tree | 69113feae0ba4cc3002e087e0e032b162bb10a81 /nokia/vnfmdriver | |
parent | ffe75db279d42b49b3ccf4b9ba503fe37133b5bf (diff) |
rebuild rpmdb before use yum command
Change-Id: I98c639af498438b0a2ef45dcf44c9d8fe9263cab
Issue-ID: VFC-544
Signed-off-by: yufei_zhou <yufei.zhou@nokia-sbell.com>
Diffstat (limited to 'nokia/vnfmdriver')
-rwxr-xr-x | nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile index aed34688..77ae678b 100755 --- a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile +++ b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile @@ -10,6 +10,11 @@ FROM centos:7.2.1511 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 yum clean all + RUN yum update -y RUN yum install -y wget unzip socat java-1.8.0-openjdk-headless |