QEMU: allow to hot plugging virtio-serial-pci device
[libvirt.git] / ci / containers / debian-12-cross-armv7l.Dockerfile
blob1abfb7993157206f806ed3b2a3d0e69853cf266e
1 # THIS FILE WAS AUTO-GENERATED
3 #  $ lcitool manifest ci/manifest.yml
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM docker.io/library/debian:12-slim
9 RUN export DEBIAN_FRONTEND=noninteractive && \
10     apt-get update && \
11     apt-get install -y eatmydata && \
12     eatmydata apt-get dist-upgrade -y && \
13     eatmydata apt-get install --no-install-recommends -y \
14                       augeas-lenses \
15                       augeas-tools \
16                       bash-completion \
17                       black \
18                       ca-certificates \
19                       ccache \
20                       codespell \
21                       cpp \
22                       diffutils \
23                       dwarves \
24                       ebtables \
25                       flake8 \
26                       gettext \
27                       git \
28                       grep \
29                       iproute2 \
30                       iptables \
31                       kmod \
32                       libclang-rt-dev \
33                       libnbd-dev \
34                       libxml2-utils \
35                       locales \
36                       lvm2 \
37                       make \
38                       meson \
39                       nfs-common \
40                       ninja-build \
41                       numad \
42                       open-iscsi \
43                       perl-base \
44                       pkgconf \
45                       polkitd \
46                       python3 \
47                       python3-docutils \
48                       python3-pytest \
49                       qemu-utils \
50                       sed \
51                       xsltproc && \
52     eatmydata apt-get autoremove -y && \
53     eatmydata apt-get autoclean -y && \
54     sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
55     dpkg-reconfigure locales && \
56     rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
58 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
59 ENV LANG "en_US.UTF-8"
60 ENV MAKE "/usr/bin/make"
61 ENV NINJA "/usr/bin/ninja"
62 ENV PYTHON "/usr/bin/python3"
64 RUN export DEBIAN_FRONTEND=noninteractive && \
65     dpkg --add-architecture armhf && \
66     eatmydata apt-get update && \
67     eatmydata apt-get dist-upgrade -y && \
68     eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
69     eatmydata apt-get install --no-install-recommends -y \
70                       gcc-arm-linux-gnueabihf \
71                       libacl1-dev:armhf \
72                       libapparmor-dev:armhf \
73                       libattr1-dev:armhf \
74                       libaudit-dev:armhf \
75                       libblkid-dev:armhf \
76                       libc6-dev:armhf \
77                       libcap-ng-dev:armhf \
78                       libcurl4-gnutls-dev:armhf \
79                       libdevmapper-dev:armhf \
80                       libfuse-dev:armhf \
81                       libglib2.0-dev:armhf \
82                       libglusterfs-dev:armhf \
83                       libgnutls28-dev:armhf \
84                       libiscsi-dev:armhf \
85                       libjson-c-dev:armhf \
86                       libnl-3-dev:armhf \
87                       libnl-route-3-dev:armhf \
88                       libnuma-dev:armhf \
89                       libparted-dev:armhf \
90                       libpcap0.8-dev:armhf \
91                       libpciaccess-dev:armhf \
92                       librbd-dev:armhf \
93                       libreadline-dev:armhf \
94                       libsanlock-dev:armhf \
95                       libsasl2-dev:armhf \
96                       libselinux1-dev:armhf \
97                       libssh-gcrypt-dev:armhf \
98                       libssh2-1-dev:armhf \
99                       libtirpc-dev:armhf \
100                       libudev-dev:armhf \
101                       libxen-dev:armhf \
102                       libxml2-dev:armhf \
103                       systemtap-sdt-dev:armhf && \
104     eatmydata apt-get autoremove -y && \
105     eatmydata apt-get autoclean -y && \
106     mkdir -p /usr/local/share/meson/cross && \
107     printf "[binaries]\n\
108 c = '/usr/bin/arm-linux-gnueabihf-gcc'\n\
109 ar = '/usr/bin/arm-linux-gnueabihf-gcc-ar'\n\
110 strip = '/usr/bin/arm-linux-gnueabihf-strip'\n\
111 pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'\n\
113 [host_machine]\n\
114 system = 'linux'\n\
115 cpu_family = 'arm'\n\
116 cpu = 'armhf'\n\
117 endian = 'little'\n" > /usr/local/share/meson/cross/arm-linux-gnueabihf && \
118     dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
119     mkdir -p /usr/libexec/ccache-wrappers && \
120     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-cc && \
121     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-gcc
123 ENV ABI "arm-linux-gnueabihf"
124 ENV MESON_OPTS "--cross-file=arm-linux-gnueabihf"