Files
xen/automation/build/centos/6.dockerfile
T
Andrew Cooper 8eed571409 CI: Add a CentOS 6 container and build jobs
CentOS 6 is probably the most frequently broken build, so adding it to CI
would be a very good move.

One problem is that CentOS 6 comes with Python 2.6, and Qemu requires 2.7.
There appear to be no sensible ways to get Python 2.7 into a CentOS 6
environments, so modify the build script to skip the Qemu upstream build
instead.  Additionally, SeaBIOS requires GCC 4.6 or later, so skip it as well.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
2019-03-26 15:36:19 +00:00

52 lines
1.1 KiB
Docker

FROM centos:6
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 install \
gcc \
gcc-c++ \
ncurses-devel \
zlib-devel \
openssl-devel \
python-devel \
libuuid-devel \
pciutils-devel \
pkgconfig \
gettext \
flex \
bison \
libaio-devel \
glib2-devel \
yajl-devel \
pixman-devel \
glibc-devel \
glibc-devel.i686 \
make \
binutils \
git \
wget \
acpica-tools \
python-markdown \
patch \
checkpolicy \
dev86 \
iasl \
xz-devel \
bzip2 \
nasm \
&& yum clean all && \
rm -rf /var/cache/yum