mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
automation: install some packages for CentOS from EPEL
They are needed to build tools. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
1 parent
00d21a3c3c
commit
d45262a5fa
1 file changed
+7
@@ -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
|
||||