QEMU: allow to hot plugging virtio-serial-pci device
[libvirt.git] / ci / containers / debian-11-cross-ppc64le.Dockerfile
blob8f9f7299096878da01e5d34a556e31762d573233
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 ppc64el && \
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-powerpc64le-linux-gnu \
70                       libacl1-dev:ppc64el \
71                       libapparmor-dev:ppc64el \
72                       libattr1-dev:ppc64el \
73                       libaudit-dev:ppc64el \
74                       libblkid-dev:ppc64el \
75                       libc6-dev:ppc64el \
76                       libcap-ng-dev:ppc64el \
77                       libcurl4-gnutls-dev:ppc64el \
78                       libdevmapper-dev:ppc64el \
79                       libfuse-dev:ppc64el \
80                       libglib2.0-dev:ppc64el \
81                       libglusterfs-dev:ppc64el \
82                       libgnutls28-dev:ppc64el \
83                       libiscsi-dev:ppc64el \
84                       libjson-c-dev:ppc64el \
85                       libnl-3-dev:ppc64el \
86                       libnl-route-3-dev:ppc64el \
87                       libnuma-dev:ppc64el \
88                       libparted-dev:ppc64el \
89                       libpcap0.8-dev:ppc64el \
90                       libpciaccess-dev:ppc64el \
91                       librbd-dev:ppc64el \
92                       libreadline-dev:ppc64el \
93                       libsanlock-dev:ppc64el \
94                       libsasl2-dev:ppc64el \
95                       libselinux1-dev:ppc64el \
96                       libssh-gcrypt-dev:ppc64el \
97                       libssh2-1-dev:ppc64el \
98                       libtirpc-dev:ppc64el \
99                       libudev-dev:ppc64el \
100                       libxml2-dev:ppc64el \
101                       systemtap-sdt-dev:ppc64el && \
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/powerpc64le-linux-gnu-gcc'\n\
107 ar = '/usr/bin/powerpc64le-linux-gnu-gcc-ar'\n\
108 strip = '/usr/bin/powerpc64le-linux-gnu-strip'\n\
109 pkgconfig = '/usr/bin/powerpc64le-linux-gnu-pkg-config'\n\
111 [host_machine]\n\
112 system = 'linux'\n\
113 cpu_family = 'ppc64'\n\
114 cpu = 'powerpc64le'\n\
115 endian = 'little'\n" > /usr/local/share/meson/cross/powerpc64le-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/powerpc64le-linux-gnu-cc && \
119     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-gcc
121 ENV ABI "powerpc64le-linux-gnu"
122 ENV MESON_OPTS "--cross-file=powerpc64le-linux-gnu"