1641b1efeSThomas Huth# THIS FILE WAS AUTO-GENERATED 2641b1efeSThomas Huth# 3641b1efeSThomas Huth# $ lcitool dockerfile --layers all centos-stream-9 qemu 4641b1efeSThomas Huth# 5641b1efeSThomas Huth# https://gitlab.com/libvirt/libvirt-ci 6641b1efeSThomas Huth 7641b1efeSThomas HuthFROM quay.io/centos/centos:stream9 8641b1efeSThomas Huth 9641b1efeSThomas HuthRUN dnf distro-sync -y && \ 10641b1efeSThomas Huth dnf install 'dnf-command(config-manager)' -y && \ 11641b1efeSThomas Huth dnf config-manager --set-enabled -y crb && \ 12641b1efeSThomas Huth dnf install -y epel-release && \ 13641b1efeSThomas Huth dnf install -y epel-next-release && \ 14641b1efeSThomas Huth dnf install -y \ 15641b1efeSThomas Huth SDL2-devel \ 16641b1efeSThomas Huth alsa-lib-devel \ 17641b1efeSThomas Huth bash \ 18641b1efeSThomas Huth bc \ 19*548de8f8SDaniel P. Berrangé bindgen-cli \ 20641b1efeSThomas Huth bison \ 21641b1efeSThomas Huth brlapi-devel \ 22641b1efeSThomas Huth bzip2 \ 23641b1efeSThomas Huth bzip2-devel \ 24641b1efeSThomas Huth ca-certificates \ 25641b1efeSThomas Huth capstone-devel \ 26641b1efeSThomas Huth ccache \ 27641b1efeSThomas Huth clang \ 28641b1efeSThomas Huth ctags \ 29641b1efeSThomas Huth cyrus-sasl-devel \ 30641b1efeSThomas Huth daxctl-devel \ 31641b1efeSThomas Huth dbus-daemon \ 32641b1efeSThomas Huth device-mapper-multipath-devel \ 33641b1efeSThomas Huth diffutils \ 34641b1efeSThomas Huth findutils \ 35641b1efeSThomas Huth flex \ 36641b1efeSThomas Huth fuse3-devel \ 37641b1efeSThomas Huth gcc \ 38641b1efeSThomas Huth gettext \ 39641b1efeSThomas Huth git \ 40641b1efeSThomas Huth glib2-devel \ 41641b1efeSThomas Huth glib2-static \ 42641b1efeSThomas Huth glibc-langpack-en \ 43641b1efeSThomas Huth glibc-static \ 44641b1efeSThomas Huth gnutls-devel \ 45641b1efeSThomas Huth gtk3-devel \ 46641b1efeSThomas Huth hostname \ 47641b1efeSThomas Huth jemalloc-devel \ 48641b1efeSThomas Huth json-c-devel \ 49641b1efeSThomas Huth libaio-devel \ 50641b1efeSThomas Huth libasan \ 51641b1efeSThomas Huth libattr-devel \ 52641b1efeSThomas Huth libbpf-devel \ 53641b1efeSThomas Huth libcacard-devel \ 54641b1efeSThomas Huth libcap-ng-devel \ 55641b1efeSThomas Huth libcmocka-devel \ 56641b1efeSThomas Huth libcurl-devel \ 57641b1efeSThomas Huth libdrm-devel \ 58641b1efeSThomas Huth libepoxy-devel \ 59641b1efeSThomas Huth libfdt-devel \ 60641b1efeSThomas Huth libffi-devel \ 61641b1efeSThomas Huth libgcrypt-devel \ 62641b1efeSThomas Huth libiscsi-devel \ 63641b1efeSThomas Huth libjpeg-devel \ 64641b1efeSThomas Huth libnfs-devel \ 65641b1efeSThomas Huth libpmem-devel \ 66641b1efeSThomas Huth libpng-devel \ 67641b1efeSThomas Huth librbd-devel \ 68641b1efeSThomas Huth libseccomp-devel \ 69641b1efeSThomas Huth libselinux-devel \ 70641b1efeSThomas Huth libslirp-devel \ 71641b1efeSThomas Huth libssh-devel \ 72641b1efeSThomas Huth libtasn1-devel \ 73641b1efeSThomas Huth libubsan \ 74641b1efeSThomas Huth liburing-devel \ 75641b1efeSThomas Huth libusbx-devel \ 76641b1efeSThomas Huth libxdp-devel \ 77641b1efeSThomas Huth libzstd-devel \ 78641b1efeSThomas Huth llvm \ 79641b1efeSThomas Huth lttng-ust-devel \ 80641b1efeSThomas Huth lzo-devel \ 81641b1efeSThomas Huth make \ 82641b1efeSThomas Huth mesa-libgbm-devel \ 83641b1efeSThomas Huth meson \ 84641b1efeSThomas Huth mtools \ 85641b1efeSThomas Huth ncurses-devel \ 86641b1efeSThomas Huth nettle-devel \ 87641b1efeSThomas Huth ninja-build \ 88641b1efeSThomas Huth nmap-ncat \ 89641b1efeSThomas Huth numactl-devel \ 90641b1efeSThomas Huth openssh-clients \ 91641b1efeSThomas Huth pam-devel \ 92641b1efeSThomas Huth pcre-static \ 93641b1efeSThomas Huth pipewire-devel \ 94641b1efeSThomas Huth pixman-devel \ 95641b1efeSThomas Huth pkgconfig \ 96641b1efeSThomas Huth pulseaudio-libs-devel \ 97641b1efeSThomas Huth python3 \ 98641b1efeSThomas Huth python3-PyYAML \ 99641b1efeSThomas Huth python3-numpy \ 100641b1efeSThomas Huth python3-pillow \ 101641b1efeSThomas Huth python3-pip \ 102641b1efeSThomas Huth python3-sphinx \ 103641b1efeSThomas Huth python3-sphinx_rtd_theme \ 104641b1efeSThomas Huth python3-tomli \ 105641b1efeSThomas Huth rdma-core-devel \ 106*548de8f8SDaniel P. Berrangé rust \ 107641b1efeSThomas Huth sed \ 108641b1efeSThomas Huth snappy-devel \ 109641b1efeSThomas Huth socat \ 110641b1efeSThomas Huth spice-protocol \ 111641b1efeSThomas Huth swtpm \ 112641b1efeSThomas Huth systemd-devel \ 113641b1efeSThomas Huth systemtap-sdt-devel \ 114641b1efeSThomas Huth tar \ 115641b1efeSThomas Huth usbredir-devel \ 116641b1efeSThomas Huth util-linux \ 117641b1efeSThomas Huth vte291-devel \ 118641b1efeSThomas Huth which \ 119641b1efeSThomas Huth xorriso \ 120641b1efeSThomas Huth zlib-devel \ 121641b1efeSThomas Huth zlib-static \ 122641b1efeSThomas Huth zstd && \ 123641b1efeSThomas Huth dnf autoremove -y && \ 124641b1efeSThomas Huth dnf clean all -y && \ 125641b1efeSThomas Huth rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \ 126641b1efeSThomas Huth rpm -qa | sort > /packages.txt && \ 127641b1efeSThomas Huth mkdir -p /usr/libexec/ccache-wrappers && \ 128641b1efeSThomas Huth ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ 129641b1efeSThomas Huth ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ 130641b1efeSThomas Huth ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc 131641b1efeSThomas Huth 132641b1efeSThomas HuthENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" 133641b1efeSThomas HuthENV LANG "en_US.UTF-8" 134641b1efeSThomas HuthENV MAKE "/usr/bin/make" 135641b1efeSThomas HuthENV NINJA "/usr/bin/ninja" 136641b1efeSThomas HuthENV PYTHON "/usr/bin/python3" 137641b1efeSThomas Huth# As a final step configure the user (if env is defined) 138641b1efeSThomas HuthARG USER 139641b1efeSThomas HuthARG UID 140641b1efeSThomas HuthRUN if [ "${USER}" ]; then \ 141641b1efeSThomas Huth id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi 142