1FROM 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
11# build depends
12RUN apt-get update && \
13    apt-get --quiet --yes install \
14        build-essential \
15        zlib1g-dev \
16        libncurses5-dev \
17        libssl-dev \
18        python-dev \
19        xorg-dev \
20        uuid-dev \
21        libyajl-dev \
22        libaio-dev \
23        libglib2.0-dev \
24        clang \
25        libpixman-1-dev \
26        pkg-config \
27        flex \
28        bison \
29        gettext \
30        acpica-tools \
31        bin86 \
32        bcc \
33        liblzma-dev \
34        libc6-dev-i386 \
35        libnl-3-dev \
36        ocaml-nox \
37        libfindlib-ocaml-dev \
38        markdown \
39        transfig \
40        pandoc \
41        checkpolicy \
42        wget \
43        git \
44        nasm \
45        && \
46        apt-get autoremove -y && \
47        apt-get clean && \
48        rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
49