@samitouri / QOSamiQemu / commits / 2a428c8541

dockerfiles: remove packages required by Avocado

Make our CI containers smaller, by removing a handful of packages that were only included as dependencies of Avocado. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Paolo Bonzini committed Aug 13, 2026 at 15:12 UTC 2a428c8541ec5e9be54aad5f0a446ec8172226c9
21 files changed +1 -79
.gitlab-ci.d/macos-14.vars
+1 -1
@@ -12,5 +12,5 @@ NINJA='/opt/homebrew/bin/ninja'
12 PACKAGING_COMMAND='brew'
13 PIP3='/opt/homebrew/bin/pip3'
14 PKGS='bash bc bindgen bison bzip2 capstone ccache cmocka coreutils ctags curl dbus diffutils dtc flex gcovr gettext git glib gnu-sed gnutls gtk+3 gtk-vnc jemalloc jpeg-turbo json-c libcbor libepoxy libffi libgcrypt libiscsi libnfs libpng libslirp libssh libtasn1 libusb llvm lzo make meson mtools ncurses nettle ninja pixman pkg-config python-setuptools python3 rpm2cpio rust sdl2 sdl2_image snappy socat sparse spice-protocol swtpm tesseract usbredir vde vte3 vulkan-tools xorriso zlib zstd'
15 -PYPI_PKGS='PyYAML numpy pillow sphinx sphinx-rtd-theme tomli'
15 +PYPI_PKGS='sphinx sphinx-rtd-theme tomli'
16 PYTHON='/opt/homebrew/bin/python3'
scripts/ci/setup/debian/debian-13-ppc64le.yaml
-4
@@ -105,9 +105,6 @@ packages:
105 - openssh-client
106 - pkgconf
107 - python3
108 - - python3-numpy
109 - - python3-opencv
110 - - python3-pillow
108 - python3-pip
109 - python3-setuptools
110 - python3-sphinx
@@ -115,7 +112,6 @@ packages:
112 - python3-tomli
113 - python3-venv
114 - python3-wheel
118 - - python3-yaml
115 - rpm2cpio
116 - rustc
117 - sed
scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml
-4
@@ -106,9 +106,6 @@ packages:
106 - openssh-client
107 - pkgconf
108 - python3
109 - - python3-numpy
110 - - python3-opencv
111 - - python3-pillow
109 - python3-pip
110 - python3-setuptools
111 - python3-sphinx
@@ -116,7 +113,6 @@ packages:
113 - python3-tomli
114 - python3-venv
115 - python3-wheel
119 - - python3-yaml
116 - rpm2cpio
117 - rustc-1.83
118 - sed
scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml
-4
@@ -104,9 +104,6 @@ packages:
104 - openssh-client
105 - pkgconf
106 - python3
107 - - python3-numpy
108 - - python3-opencv
109 - - python3-pillow
107 - python3-pip
108 - python3-setuptools
109 - python3-sphinx
@@ -114,7 +111,6 @@ packages:
111 - python3-tomli
112 - python3-venv
113 - python3-wheel
117 - - python3-yaml
114 - rpm2cpio
115 - rustc-1.83
116 - sed
tests/docker/dockerfiles/alpine.docker
-3
@@ -83,14 +83,11 @@ RUN apk update && \
83 pixman-dev \
84 pkgconf \
85 pulseaudio-dev \
86 - py3-numpy \
87 - py3-pillow \
86 py3-pip \
87 py3-setuptools \
88 py3-sphinx \
89 py3-sphinx_rtd_theme \
90 py3-wheel \
93 - py3-yaml \
91 python3 \
92 rpm2cpio \
93 rust \
tests/docker/dockerfiles/centos9.docker
-3
@@ -96,9 +96,6 @@ RUN dnf --quiet distro-sync -y && \
96 pkgconfig \
97 pulseaudio-libs-devel \
98 python3 \
99 - python3-PyYAML \
100 - python3-numpy \
101 - python3-pillow \
99 python3-pip \
100 python3-setuptools \
101 python3-sphinx \
tests/docker/dockerfiles/debian-amd64-cross.docker
-4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
41 openssh-client \
42 pkgconf \
43 python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
44 python3-pip \
45 python3-setuptools \
46 python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
48 python3-tomli \
49 python3-venv \
50 python3-wheel \
54 - python3-yaml \
51 rpm2cpio \
52 rustc \
53 sed \
tests/docker/dockerfiles/debian-arm64-cross.docker
-4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
41 openssh-client \
42 pkgconf \
43 python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
44 python3-pip \
45 python3-setuptools \
46 python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
48 python3-tomli \
49 python3-venv \
50 python3-wheel \
54 - python3-yaml \
51 rpm2cpio \
52 rustc \
53 sed \
tests/docker/dockerfiles/debian-armhf-cross.docker
-4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
41 openssh-client \
42 pkgconf \
43 python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
44 python3-pip \
45 python3-setuptools \
46 python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
48 python3-tomli \
49 python3-venv \
50 python3-wheel \
54 - python3-yaml \
51 rpm2cpio \
52 rustc \
53 sed \
tests/docker/dockerfiles/debian-i686-cross.docker
-4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
41 openssh-client \
42 pkgconf \
43 python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
44 python3-pip \
45 python3-setuptools \
46 python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
48 python3-tomli \
49 python3-venv \
50 python3-wheel \
54 - python3-yaml \
51 rpm2cpio \
52 rustc \
53 sed \
tests/docker/dockerfiles/debian-ppc64el-cross.docker
-4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
41 openssh-client \
42 pkgconf \
43 python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
44 python3-pip \
45 python3-setuptools \
46 python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
48 python3-tomli \
49 python3-venv \
50 python3-wheel \
54 - python3-yaml \
51 rpm2cpio \
52 rustc \
53 sed \
tests/docker/dockerfiles/debian-riscv64-cross.docker
-4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
41 openssh-client \
42 pkgconf \
43 python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
44 python3-pip \
45 python3-setuptools \
46 python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
48 python3-tomli \
49 python3-venv \
50 python3-wheel \
54 - python3-yaml \
51 rpm2cpio \
52 rustc \
53 sed \
tests/docker/dockerfiles/debian-s390x-cross.docker
-4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
41 openssh-client \
42 pkgconf \
43 python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
44 python3-pip \
45 python3-setuptools \
46 python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
48 python3-tomli \
49 python3-venv \
50 python3-wheel \
54 - python3-yaml \
51 rpm2cpio \
52 rustc \
53 sed \
tests/docker/dockerfiles/debian.docker
-4
@@ -113,9 +113,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
113 openssh-client \
114 pkgconf \
115 python3 \
116 - python3-numpy \
117 - python3-opencv \
118 - python3-pillow \
116 python3-pip \
117 python3-setuptools \
118 python3-sphinx \
@@ -123,7 +120,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
120 python3-tomli \
121 python3-venv \
122 python3-wheel \
126 - python3-yaml \
123 rpm2cpio \
124 rustc \
125 sed \
tests/docker/dockerfiles/fedora-rust-nightly.docker
-4
@@ -104,10 +104,6 @@ exec "$@"\n' > /usr/bin/nosync && \
104 pkgconfig \
105 pulseaudio-libs-devel \
106 python3 \
107 - python3-PyYAML \
108 - python3-numpy \
109 - python3-opencv \
110 - python3-pillow \
107 python3-pip \
108 python3-setuptools \
109 python3-sphinx \
tests/docker/dockerfiles/fedora-win64-cross.docker
-4
@@ -44,10 +44,6 @@ exec "$@"\n' > /usr/bin/nosync && \
44 ninja-build \
45 openssh-clients \
46 python3 \
47 - python3-PyYAML \
48 - python3-numpy \
49 - python3-opencv \
50 - python3-pillow \
47 python3-pip \
48 python3-setuptools \
49 python3-sphinx \
tests/docker/dockerfiles/fedora.docker
-4
@@ -104,10 +104,6 @@ exec "$@"\n' > /usr/bin/nosync && \
104 pkgconfig \
105 pulseaudio-libs-devel \
106 python3 \
107 - python3-PyYAML \
108 - python3-numpy \
109 - python3-opencv \
110 - python3-pillow \
107 python3-pip \
108 python3-setuptools \
109 python3-sphinx \
tests/docker/dockerfiles/opensuse-leap.docker
-4
@@ -93,12 +93,8 @@ RUN zypper update -y && \
93 pcre2-devel-static \
94 pipewire-devel \
95 pkgconfig \
96 - python3-Pillow \
97 - python3-PyYAML \
96 python3-Sphinx \
97 python3-base \
100 - python3-numpy \
101 - python3-opencv \
98 python3-pip \
99 python3-setuptools \
100 python3-sphinx_rtd_theme \
tests/docker/dockerfiles/ubuntu2404.docker
-4
@@ -113,9 +113,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
113 openssh-client \
114 pkgconf \
115 python3 \
116 - python3-numpy \
117 - python3-opencv \
118 - python3-pillow \
116 python3-pip \
117 python3-setuptools \
118 python3-sphinx \
@@ -123,7 +120,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
120 python3-tomli \
121 python3-venv \
122 python3-wheel \
126 - python3-yaml \
123 rpm2cpio \
124 rustc-1.83 \
125 sed \
tests/lcitool/projects/qemu.yml
-4
@@ -91,11 +91,7 @@ packages:
91 - pkg-config
92 - pulseaudio
93 - python3
94 - - python3-numpy
95 - - python3-opencv
96 - - python3-pillow
94 - python3-pip
98 - - python3-PyYAML
95 - python3-setuptools
96 - python3-sphinx
97 - python3-sphinx-rtd-theme
tests/vm/generated/freebsd.json
-4
@@ -49,14 +49,10 @@
49 "ncurses",
50 "nettle",
51 "ninja",
52 - "opencv",
52 "pixman",
53 "pkgconf",
54 "png",
56 - "py311-numpy",
57 - "py311-pillow",
55 "py311-pip",
59 - "py311-pyyaml",
56 "py311-setuptools",
57 "py311-sphinx",
58 "py311-sphinx_rtd_theme",