QEMU: allow to hot plugging virtio-serial-pci device
[libvirt.git] / ci / containers / debian-11-cross-s390x.Dockerfile
blobb09076b148cc046403639ff046ba6876016a4a1c
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:11-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-dev \
33                       libxml2-utils \
34                       locales \
35                       lvm2 \
36                       make \
37                       meson \
38                       nfs-common \
39                       ninja-build \
40                       numad \
41                       open-iscsi \
42                       perl-base \
43                       pkgconf \
44                       policykit-1 \
45                       python3 \
46                       python3-docutils \
47                       python3-pytest \
48                       qemu-utils \
49                       sed \
50                       xsltproc && \
51     eatmydata apt-get autoremove -y && \
52     eatmydata apt-get autoclean -y && \
53     sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
54     dpkg-reconfigure locales && \
55     rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
57 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
58 ENV LANG "en_US.UTF-8"
59 ENV MAKE "/usr/bin/make"
60 ENV NINJA "/usr/bin/ninja"
61 ENV PYTHON "/usr/bin/python3"
63 RUN export DEBIAN_FRONTEND=noninteractive && \
64     dpkg --add-architecture s390x && \
65     eatmydata apt-get update && \
66     eatmydata apt-get dist-upgrade -y && \
67     eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
68     eatmydata apt-get install --no-install-recommends -y \
69                       gcc-s390x-linux-gnu \
70                       libacl1-dev:s390x \
71                       libapparmor-dev:s390x \
72                       libattr1-dev:s390x \
73                       libaudit-dev:s390x \
74                       libblkid-dev:s390x \
75                       libc6-dev:s390x \
76                       libcap-ng-dev:s390x \
77                       libcurl4-gnutls-dev:s390x \
78                       libdevmapper-dev:s390x \
79                       libfuse-dev:s390x \
80                       libglib2.0-dev:s390x \
81                       libglusterfs-dev:s390x \
82                       libgnutls28-dev:s390x \
83                       libiscsi-dev:s390x \
84                       libjson-c-dev:s390x \
85                       libnl-3-dev:s390x \
86                       libnl-route-3-dev:s390x \
87                       libnuma-dev:s390x \
88                       libparted-dev:s390x \
89                       libpcap0.8-dev:s390x \
90                       libpciaccess-dev:s390x \
91                       librbd-dev:s390x \
92                       libreadline-dev:s390x \
93                       libsanlock-dev:s390x \
94                       libsasl2-dev:s390x \
95                       libselinux1-dev:s390x \
96                       libssh-gcrypt-dev:s390x \
97                       libssh2-1-dev:s390x \
98                       libtirpc-dev:s390x \
99                       libudev-dev:s390x \
100                       libxml2-dev:s390x \
101                       systemtap-sdt-dev:s390x && \
102     eatmydata apt-get autoremove -y && \
103     eatmydata apt-get autoclean -y && \
104     mkdir -p /usr/local/share/meson/cross && \
105     printf "[binaries]\n\
106 c = '/usr/bin/s390x-linux-gnu-gcc'\n\
107 ar = '/usr/bin/s390x-linux-gnu-gcc-ar'\n\
108 strip = '/usr/bin/s390x-linux-gnu-strip'\n\
109 pkgconfig = '/usr/bin/s390x-linux-gnu-pkg-config'\n\
111 [host_machine]\n\
112 system = 'linux'\n\
113 cpu_family = 's390x'\n\
114 cpu = 's390x'\n\
115 endian = 'big'\n" > /usr/local/share/meson/cross/s390x-linux-gnu && \
116     dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
117     mkdir -p /usr/libexec/ccache-wrappers && \
118     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-cc && \
119     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-gcc
121 ENV ABI "s390x-linux-gnu"
122 ENV MESON_OPTS "--cross-file=s390x-linux-gnu"