Files
xen/automation/build/ubuntu/bionic.dockerfile
T
Anthony PERARD 34108a27e8 automation: Adding ninja-build to some docker images
This is to allow building the latest version of QEMU.

fedora/29:
    In addition to adding "ninja", I've add to make some other
    changes: some `go build` failed with `mkdir /.cache` no
    permission, so I've created a user.
    (this was discovered while testing the new container with the
    script containerize.)

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
2021-07-08 12:36:21 +01:00

54 lines
1.1 KiB
Docker

FROM ubuntu:18.04
LABEL maintainer.name="The Xen Project " \
maintainer.email="xen-devel@lists.xenproject.org"
ENV DEBIAN_FRONTEND=noninteractive
ENV USER root
RUN mkdir /build
WORKDIR /build
# build depends
RUN apt-get update && \
apt-get --quiet --yes install \
build-essential \
zlib1g-dev \
libncurses5-dev \
libssl-dev \
python-dev \
python3-dev \
xorg-dev \
uuid-dev \
libyajl-dev \
libaio-dev \
libglib2.0-dev \
clang \
libpixman-1-dev \
pkg-config \
flex \
bison \
# gettext for Xen < 4.13
gettext \
acpica-tools \
bin86 \
bcc \
liblzma-dev \
# libc6-dev-i386 for Xen < 4.15
libc6-dev-i386 \
libnl-3-dev \
ocaml-nox \
libfindlib-ocaml-dev \
markdown \
transfig \
pandoc \
checkpolicy \
wget \
git \
nasm \
# QEMU
ninja-build \
&& \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*