mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com> Reviewed-by: Michal Orzel <michal.orzel@amd.com>
77 lines
2.2 KiB
Docker
77 lines
2.2 KiB
Docker
FROM arm64v8/debian:bookworm
|
|
LABEL maintainer.name="The Xen Project" \
|
|
maintainer.email="xen-devel@lists.xenproject.org"
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV QEMU_VERSION=6.0.0
|
|
ENV USER root
|
|
|
|
RUN mkdir /build
|
|
WORKDIR /build
|
|
|
|
# build depends
|
|
RUN apt-get update && \
|
|
apt-get --quiet --yes install \
|
|
build-essential \
|
|
curl \
|
|
python3 \
|
|
ninja-build \
|
|
pkg-config \
|
|
libglib2.0-dev \
|
|
libpixman-1-dev \
|
|
&& \
|
|
\
|
|
curl -fsSLO https://download.qemu.org/qemu-"$QEMU_VERSION".tar.xz && \
|
|
tar xvJf qemu-"$QEMU_VERSION".tar.xz && \
|
|
cd qemu-"$QEMU_VERSION" && \
|
|
./configure \
|
|
--target-list=arm-softmmu,aarch64-softmmu \
|
|
--enable-system \
|
|
--disable-blobs \
|
|
--disable-bsd-user \
|
|
--disable-debug-info \
|
|
--disable-glusterfs \
|
|
--disable-gtk \
|
|
--disable-guest-agent \
|
|
--disable-linux-user \
|
|
--disable-sdl \
|
|
--disable-spice \
|
|
--disable-tpm \
|
|
--disable-vhost-net \
|
|
--disable-vhost-scsi \
|
|
--disable-vhost-user \
|
|
--disable-vhost-vsock \
|
|
--disable-virtfs \
|
|
--disable-vnc \
|
|
--disable-werror \
|
|
--disable-xen \
|
|
--disable-safe-stack \
|
|
--disable-libssh \
|
|
--disable-opengl \
|
|
--disable-tools \
|
|
--disable-virglrenderer \
|
|
--disable-stack-protector \
|
|
--disable-containers \
|
|
--disable-replication \
|
|
--disable-cloop \
|
|
--disable-dmg \
|
|
--disable-vvfat \
|
|
--disable-vdi \
|
|
--disable-parallels \
|
|
--disable-qed \
|
|
--disable-bochs \
|
|
--disable-qom-cast-debug \
|
|
--disable-vhost-vdpa \
|
|
--disable-vhost-kernel \
|
|
--disable-qcow1 \
|
|
--disable-live-block-migration \
|
|
&& \
|
|
make -j$(nproc) && \
|
|
cp ./build/qemu-system-aarch64 / && \
|
|
cp ./build/qemu-system-arm / && \
|
|
cd /build && \
|
|
rm -rf qemu-"$QEMU_VERSION"* && \
|
|
apt-get autoremove -y && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
|