mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
... instead of python2.7-dev. We installed python2.7-dev because xen only worked with 2.7. Installing python2.7-dev only gives python2.7-config, which causes configure to fail because it wants python-config by default. Now xen should work with 2.6 and above, we can install python-dev and let distros pick the default python. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
49 lines
1.0 KiB
Docker
49 lines
1.0 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 \
|
|
xorg-dev \
|
|
uuid-dev \
|
|
libyajl-dev \
|
|
libaio-dev \
|
|
libglib2.0-dev \
|
|
clang \
|
|
libpixman-1-dev \
|
|
pkg-config \
|
|
flex \
|
|
bison \
|
|
gettext \
|
|
acpica-tools \
|
|
bin86 \
|
|
bcc \
|
|
liblzma-dev \
|
|
libc6-dev-i386 \
|
|
libnl-3-dev \
|
|
ocaml-nox \
|
|
libfindlib-ocaml-dev \
|
|
markdown \
|
|
transfig \
|
|
pandoc \
|
|
checkpolicy \
|
|
wget \
|
|
git \
|
|
nasm \
|
|
&& \
|
|
apt-get autoremove -y && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
|