forked from qemu/qemu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (22 loc) · 964 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ARG arch=
FROM --platform=linux/${arch} docker.io/debian:bookworm
RUN apt update && apt upgrade -y
# https://wiki.qemu.org/Hosts/Linux#Building_QEMU_for_Linux
RUN apt update && apt install -y \
git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build\
git-email\
libaio-dev libbluetooth-dev libcapstone-dev libbrlapi-dev libbz2-dev\
libcap-ng-dev libcurl4-gnutls-dev libgtk-3-dev\
libibverbs-dev libjpeg-dev libncurses5-dev libnuma-dev\
librbd-dev librdmacm-dev\
libsasl2-dev libsdl2-dev libseccomp-dev libsnappy-dev libssh-dev\
libvde-dev libvdeplug-dev libvte-2.91-dev liblzo2-dev\
valgrind xfslibs-dev
RUN apt update && apt install -y \
python3-venv meson coreutils build-essential git ccache python3-tomli
RUN apt update && apt install -y xvfb
RUN apt update && apt install -y flex bison
RUN apt update && apt install -y libunwind-dev
RUN apt update && apt install -y clang
ARG arch=
ENV ARCH=${arch}