debian-native.docker (1404B)
1 # 2 # Docker Debian Native 3 # 4 # This is intended to build QEMU on native host systems. Debian is 5 # chosen due to the broadest range on supported host systems for QEMU. 6 # 7 # This docker target is based on the docker.io Debian Bullseye base 8 # image rather than QEMU's base because we would otherwise confuse the 9 # build grabbing stuff from the registry built for other 10 # architectures. 11 # 12 FROM docker.io/library/debian:bullseye-slim 13 MAINTAINER Alex Bennée <alex.bennee@linaro.org> 14 15 # Duplicate deb line as deb-src 16 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 17 18 # Install common build utilities 19 RUN apt update && \ 20 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata 21 22 RUN apt update && \ 23 DEBIAN_FRONTEND=noninteractive eatmydata \ 24 apt build-dep -yy --arch-only qemu 25 26 RUN apt update && \ 27 DEBIAN_FRONTEND=noninteractive eatmydata \ 28 apt install -y --no-install-recommends \ 29 cscope \ 30 genisoimage \ 31 exuberant-ctags \ 32 global \ 33 libbz2-dev \ 34 liblzo2-dev \ 35 libgcrypt20-dev \ 36 libfdt-dev \ 37 librdmacm-dev \ 38 libsasl2-dev \ 39 libsnappy-dev \ 40 libvte-dev \ 41 netcat-openbsd \ 42 ninja-build \ 43 openssh-client \ 44 python3-numpy \ 45 python3-opencv \ 46 python3-venv 47 48 ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS 49 ENV DEF_TARGET_LIST "none"