Files
xen/automation/build/centos/7.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

52 lines
1.1 KiB
Docker

FROM 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 install \
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 && \
rm -rf /var/cache/yum