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:
Wei Liu committed 2018-07-10 08:24:01 +01:00
1 parent 00d21a3c3c
commit d45262a5fa
1 file changed
+7
+7
View 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.