Files
xen/automation/build/centos/7.2.dockerfile
T
Andrew Cooper e21a6a4f96 tools: Drop gettext as a build dependency
It has not been a dependency since at least 4.13.  Remove its mandatory check
from ./configure.

Annotate the dependency in the CI dockerfiles, and drop them from CirrusCI and
TravisCI.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
2021-04-09 10:31:17 +01:00

53 lines
1.2 KiB
Docker

FROM centos:7.2.1511
LABEL maintainer.name="The Xen Project" \
maintainer.email="xen-devel@lists.xenproject.org"
# ensure we only get bits from the vault for
# 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
# work around https://github.com/moby/moby/issues/10180
# and install Xen depends
RUN rpm --rebuilddb && \
yum -y install \
yum-plugin-ovl \
gcc \
gcc-c++ \
ncurses-devel \
zlib-devel \
openssl-devel \
python-devel \
libuuid-devel \
pkgconfig \
# gettext for Xen < 4.13
gettext \
flex \
bison \
libaio-devel \
glib2-devel \
yajl-devel \
pixman-devel \
glibc-devel \
# glibc-devel.i686 for Xen < 4.15
glibc-devel.i686 \
make \
binutils \
git \
wget \
acpica-tools \
python-markdown \
patch \
checkpolicy \
dev86 \
xz-devel \
bzip2 \
nasm \
&& yum clean all