From: Wei Liu Date: Mon, 9 Jul 2018 14:24:19 +0000 (+0100) Subject: automation: install some packages for CentOS from EPEL X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3656 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d45262a5fa7df2116dd13b5d57f2d6b9f8333fc7;p=xen.git automation: install some packages for CentOS from EPEL They are needed to build tools. Signed-off-by: Wei Liu Reviewed-by: Doug Goldstein --- 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