1FROM centos:6
2LABEL maintainer.name="The Xen Project" \
3      maintainer.email="xen-devel@lists.xenproject.org"
4
5RUN mkdir /build
6WORKDIR /build
7
8# work around https://github.com/moby/moby/issues/10180
9# and add EPEL for dev86
10RUN rpm --rebuilddb && \
11    yum -y install \
12        yum-plugin-ovl \
13        epel-release \
14    && yum clean all && \
15    rm -rf /var/cache/yum
16
17# install Xen depends
18RUN yum -y install \
19        gcc \
20        gcc-c++ \
21        ncurses-devel \
22        zlib-devel \
23        openssl-devel \
24        python-devel \
25        libuuid-devel \
26        pciutils-devel \
27        pkgconfig \
28        gettext \
29        flex \
30        bison \
31        libaio-devel \
32        glib2-devel \
33        yajl-devel \
34        pixman-devel \
35        glibc-devel \
36        glibc-devel.i686 \
37        make \
38        binutils \
39        git \
40        wget \
41        acpica-tools \
42        python-markdown \
43        patch \
44        checkpolicy \
45        dev86 \
46        iasl \
47        xz-devel \
48        bzip2 \
49        nasm \
50    && yum clean all && \
51    rm -rf /var/cache/yum
52