Files
xen/automation/build/centos/7.dockerfile
T
Andrew Cooper a0e29b3163 CI: Drop glibc-i386 from the build containers
Xen 4.14 no longer runs in Gitlab CI.  Drop the dependency to shrink the build
containers a little.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
2024-04-25 13:14:40 -07:00

49 lines
1.0 KiB
Docker

FROM --platform=linux/amd64 centos:7
LABEL maintainer.name="The Xen Project" \
maintainer.email="xen-devel@lists.xenproject.org"
RUN mkdir /build
WORKDIR /build
# work around https://github.com/moby/moby/issues/10180
# and add EPEL for dev86
RUN rpm --rebuilddb && \
yum -y install \
yum-plugin-ovl \
epel-release \
&& yum clean all && \
rm -rf /var/cache/yum
# install Xen depends
RUN yum -y update \
&& yum -y install \
gcc \
gcc-c++ \
ncurses-devel \
zlib-devel \
openssl-devel \
python-devel \
libuuid-devel \
pkgconfig \
flex \
bison \
libaio-devel \
glib2-devel \
yajl-devel \
pixman-devel \
glibc-devel \
make \
binutils \
git \
wget \
acpica-tools \
python-markdown \
patch \
checkpolicy \
dev86 \
xz-devel \
bzip2 \
nasm \
&& yum clean all && \
rm -rf /var/cache/yum