From d45262a5fa7df2116dd13b5d57f2d6b9f8333fc7 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 9 Jul 2018 15:24:19 +0100 Subject: [PATCH] automation: install some packages for CentOS from EPEL They are needed to build tools. Signed-off-by: Wei Liu Reviewed-by: Doug Goldstein --- automation/build/centos/7.2.dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/automation/build/centos/7.2.dockerfile b/automation/build/centos/7.2.dockerfile index c6a1f46d3c..b9b626a9b1 100644 --- a/automation/build/centos/7.2.dockerfile +++ b/automation/build/centos/7.2.dockerfile @@ -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 -- 2.30.2