1FROM i386/debian:jessie
2LABEL maintainer.name="The Xen Project" \
3      maintainer.email="xen-devel@lists.xenproject.org"
4
5ENV DEBIAN_FRONTEND=noninteractive
6ENV USER root
7
8RUN mkdir /build
9WORKDIR /build
10
11ENTRYPOINT ["linux32"]
12
13# build depends
14RUN apt-get update && \
15    apt-get --quiet --yes install \
16        build-essential \
17        zlib1g-dev \
18        libncurses5-dev \
19        libssl-dev \
20        python-dev \
21        xorg-dev \
22        uuid-dev \
23        libyajl-dev \
24        libaio-dev \
25        libglib2.0-dev \
26        clang \
27        libpixman-1-dev \
28        pkg-config \
29        flex \
30        bison \
31        gettext \
32        acpica-tools \
33        bin86 \
34        bcc \
35        liblzma-dev \
36        libc6-dev \
37        libnl-3-dev \
38        ocaml-nox \
39        libfindlib-ocaml-dev \
40        markdown \
41        transfig \
42        pandoc \
43        checkpolicy \
44        wget \
45        git \
46        nasm \
47        && \
48        apt-get autoremove -y && \
49        apt-get clean && \
50        rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
51