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