1FROM i386/debian:stretch
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        python3-dev \
22        xorg-dev \
23        uuid-dev \
24        libyajl-dev \
25        libaio-dev \
26        libglib2.0-dev \
27        clang \
28        libpixman-1-dev \
29        pkg-config \
30        flex \
31        bison \
32        gettext \
33        acpica-tools \
34        bin86 \
35        bcc \
36        liblzma-dev \
37        libc6-dev \
38        libnl-3-dev \
39        ocaml-nox \
40        libfindlib-ocaml-dev \
41        markdown \
42        transfig \
43        pandoc \
44        checkpolicy \
45        wget \
46        git \
47        nasm \
48        apt-transport-https \
49        && \
50        apt-get autoremove -y && \
51        apt-get clean && \
52        rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
53