FROM docker.io/centos:8 RUN dnf -y update ENV PACKAGES \ SDL2-devel \ alsa-lib-devel \ bc \ brlapi-devel \ bzip2 \ bzip2-devel \ ca-certificates \ capstone-devel \ ccache \ clang \ ctags \ cyrus-sasl-devel \ daxctl-devel \ dbus-daemon \ device-mapper-multipath-devel \ diffutils \ findutils \ gcc \ gcc-c++ \ genisoimage \ gettext \ git \ glib2-devel \ glibc-langpack-en \ glibc-static \ glusterfs-api-devel \ gnutls-devel \ gtk3-devel \ hostname \ jemalloc-devel \ libaio-devel \ libasan \ libattr-devel \ libbpf-devel \ libcacard-devel \ libcap-ng-devel \ libcurl-devel \ libdrm-devel \ libepoxy-devel \ libfdt-devel \ libffi-devel \ libgcrypt-devel \ libiscsi-devel \ libjpeg-devel \ libnfs-devel \ libpmem-devel \ libpng-devel \ librbd-devel \ libseccomp-devel \ libselinux-devel \ libslirp-devel \ libssh-devel \ libtasn1-devel \ libubsan \ libudev-devel \ libusbx-devel \ libxml2-devel \ libzstd-devel \ llvm \ lzo-devel \ make \ mesa-libgbm-devel \ ncurses-devel \ nettle-devel \ ninja-build \ nmap-ncat \ numactl-devel \ openssh-clients \ pam-devel \ perl \ perl-Test-Harness \ pixman-devel \ pkgconfig \ pulseaudio-libs-devel \ python3 \ python3-PyYAML \ python3-numpy \ python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \ python3-sphinx_rtd_theme \ python3-virtualenv \ python3-wheel \ rdma-core-devel \ rpm \ sed \ snappy-devel \ spice-protocol \ spice-server-devel \ systemd-devel \ systemtap-sdt-devel \ tar \ texinfo \ usbredir-devel \ util-linux \ virglrenderer-devel \ vte291-devel \ which \ xfsprogs-devel \ zlib-devel RUN dnf install -y dnf-plugins-core && \ dnf config-manager --set-enabled powertools && \ dnf install -y centos-release-advanced-virtualization && \ dnf install -y epel-release && \ dnf install -y $PACKAGES RUN rpm -q $PACKAGES | sort > /packages.txt