Files
xen/automation/build/ubuntu/focal.dockerfile
T
Andrew Cooper ae26101f6b tools: Drop libsystemd as a dependency
There are no more users, and we want to disuade people from introducing new
users just for sd_notify() and friends.  Drop the dependency.

We still want the overall --with{,out}-systemd to gate the generation of the
service/unit/mount/etc files.

Rerun autogen.sh, and mark the dependency as removed in the build containers.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Christian Lindig <christian.lindig@cloud.com>
2024-05-23 15:04:40 +01:00

51 lines
1.1 KiB
Docker

FROM --platform=linux/amd64 ubuntu:20.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 \
python3-dev \
python3-setuptools \
xorg-dev \
uuid-dev \
libyajl-dev \
libaio-dev \
libglib2.0-dev \
clang \
libpixman-1-dev \
pkg-config \
flex \
bison \
acpica-tools \
bin86 \
bcc \
liblzma-dev \
libnl-3-dev \
ocaml-nox \
libfindlib-ocaml-dev \
# libsystemd-dev for Xen < 4.19
libsystemd-dev \
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/*