1# THIS FILE WAS AUTO-GENERATED 2# 3# $ lcitool dockerfile --layers all centos-stream-9 qemu 4# 5# https://gitlab.com/libvirt/libvirt-ci 6 7FROM quay.io/centos/centos:stream9 8 9RUN dnf distro-sync -y && \ 10 dnf install 'dnf-command(config-manager)' -y && \ 11 dnf config-manager --set-enabled -y crb && \ 12 dnf install -y epel-release && \ 13 dnf install -y epel-next-release && \ 14 dnf install -y \ 15 SDL2-devel \ 16 alsa-lib-devel \ 17 bash \ 18 bc \ 19 bison \ 20 brlapi-devel \ 21 bzip2 \ 22 bzip2-devel \ 23 ca-certificates \ 24 capstone-devel \ 25 ccache \ 26 clang \ 27 ctags \ 28 cyrus-sasl-devel \ 29 daxctl-devel \ 30 dbus-daemon \ 31 device-mapper-multipath-devel \ 32 diffutils \ 33 findutils \ 34 flex \ 35 fuse3-devel \ 36 gcc \ 37 gettext \ 38 git \ 39 glib2-devel \ 40 glib2-static \ 41 glibc-langpack-en \ 42 glibc-static \ 43 gnutls-devel \ 44 gtk3-devel \ 45 hostname \ 46 jemalloc-devel \ 47 json-c-devel \ 48 libaio-devel \ 49 libasan \ 50 libattr-devel \ 51 libbpf-devel \ 52 libcacard-devel \ 53 libcap-ng-devel \ 54 libcmocka-devel \ 55 libcurl-devel \ 56 libdrm-devel \ 57 libepoxy-devel \ 58 libfdt-devel \ 59 libffi-devel \ 60 libgcrypt-devel \ 61 libiscsi-devel \ 62 libjpeg-devel \ 63 libnfs-devel \ 64 libpmem-devel \ 65 libpng-devel \ 66 librbd-devel \ 67 libseccomp-devel \ 68 libselinux-devel \ 69 libslirp-devel \ 70 libssh-devel \ 71 libtasn1-devel \ 72 libubsan \ 73 liburing-devel \ 74 libusbx-devel \ 75 libxdp-devel \ 76 libzstd-devel \ 77 llvm \ 78 lttng-ust-devel \ 79 lzo-devel \ 80 make \ 81 mesa-libgbm-devel \ 82 meson \ 83 mtools \ 84 ncurses-devel \ 85 nettle-devel \ 86 ninja-build \ 87 nmap-ncat \ 88 numactl-devel \ 89 openssh-clients \ 90 pam-devel \ 91 pcre-static \ 92 pipewire-devel \ 93 pixman-devel \ 94 pkgconfig \ 95 pulseaudio-libs-devel \ 96 python3 \ 97 python3-PyYAML \ 98 python3-numpy \ 99 python3-pillow \ 100 python3-pip \ 101 python3-sphinx \ 102 python3-sphinx_rtd_theme \ 103 python3-tomli \ 104 rdma-core-devel \ 105 sed \ 106 snappy-devel \ 107 socat \ 108 spice-protocol \ 109 swtpm \ 110 systemd-devel \ 111 systemtap-sdt-devel \ 112 tar \ 113 usbredir-devel \ 114 util-linux \ 115 vte291-devel \ 116 which \ 117 xorriso \ 118 zlib-devel \ 119 zlib-static \ 120 zstd && \ 121 dnf autoremove -y && \ 122 dnf clean all -y && \ 123 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \ 124 rpm -qa | sort > /packages.txt && \ 125 mkdir -p /usr/libexec/ccache-wrappers && \ 126 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ 127 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ 128 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc 129 130ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" 131ENV LANG "en_US.UTF-8" 132ENV MAKE "/usr/bin/make" 133ENV NINJA "/usr/bin/ninja" 134ENV PYTHON "/usr/bin/python3" 135# As a final step configure the user (if env is defined) 136ARG USER 137ARG UID 138RUN if [ "${USER}" ]; then \ 139 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi 140