automation: install some packages for CentOS from EPEL
authorWei Liu <wei.liu2@citrix.com>
Mon, 9 Jul 2018 14:24:19 +0000 (15:24 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 10 Jul 2018 07:24:01 +0000 (08:24 +0100)
They are needed to build tools.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
automation/build/centos/7.2.dockerfile

index c6a1f46d3c7792bc9eb8848449059379105730df..b9b626a9b1417761e87fd6a997c44e8c81fc3191 100644 (file)
@@ -6,6 +6,10 @@ LABEL maintainer.name="The Xen Project" \
 # the version we want
 COPY CentOS-7.2.repo /etc/yum.repos.d/CentOS-Base.repo
 
+# install EPEL for dev86, xz-devel and possibly other packages
+RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
+        yum clean all
+
 RUN mkdir /build
 WORKDIR /build
 
@@ -39,4 +43,7 @@ RUN rpm --rebuilddb && \
         python-markdown \
         patch \
         checkpolicy \
+        dev86 \
+        xz-devel \
+        bzip2 \
     && yum clean all