1# THIS FILE WAS AUTO-GENERATED
2#
3#  $ lcitool dockerfile fedora-35 qemu
4#
5# https://gitlab.com/libvirt/libvirt-ci
6
7FROM registry.fedoraproject.org/fedora:35
8
9RUN dnf install -y nosync && \
10    echo -e '#!/bin/sh\n\
11if test -d /usr/lib64\n\
12then\n\
13    export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
14else\n\
15    export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
16fi\n\
17exec "$@"' > /usr/bin/nosync && \
18    chmod +x /usr/bin/nosync && \
19    nosync dnf update -y && \
20    nosync dnf install -y \
21        SDL2-devel \
22        SDL2_image-devel \
23        alsa-lib-devel \
24        bash \
25        bc \
26        brlapi-devel \
27        bzip2 \
28        bzip2-devel \
29        ca-certificates \
30        capstone-devel \
31        ccache \
32        clang \
33        ctags \
34        cyrus-sasl-devel \
35        daxctl-devel \
36        dbus-daemon \
37        device-mapper-multipath-devel \
38        diffutils \
39        findutils \
40        fuse3-devel \
41        gcc \
42        gcc-c++ \
43        gcovr \
44        genisoimage \
45        gettext \
46        git \
47        glib2-devel \
48        glib2-static \
49        glibc-langpack-en \
50        glibc-static \
51        glusterfs-api-devel \
52        gnutls-devel \
53        gtk3-devel \
54        hostname \
55        jemalloc-devel \
56        libaio-devel \
57        libasan \
58        libattr-devel \
59        libbpf-devel \
60        libcacard-devel \
61        libcap-ng-devel \
62        libcurl-devel \
63        libdrm-devel \
64        libepoxy-devel \
65        libfdt-devel \
66        libffi-devel \
67        libgcrypt-devel \
68        libiscsi-devel \
69        libjpeg-devel \
70        libnfs-devel \
71        libpmem-devel \
72        libpng-devel \
73        librbd-devel \
74        libseccomp-devel \
75        libselinux-devel \
76        libslirp-devel \
77        libssh-devel \
78        libtasn1-devel \
79        libubsan \
80        libudev-devel \
81        liburing-devel \
82        libusbx-devel \
83        libxml2-devel \
84        libzstd-devel \
85        llvm \
86        lttng-ust-devel \
87        lzo-devel \
88        make \
89        mesa-libgbm-devel \
90        meson \
91        ncurses-devel \
92        nettle-devel \
93        ninja-build \
94        nmap-ncat \
95        numactl-devel \
96        openssh-clients \
97        pam-devel \
98        pcre-static \
99        perl-Test-Harness \
100        perl-base \
101        pixman-devel \
102        pkgconfig \
103        pulseaudio-libs-devel \
104        python3 \
105        python3-PyYAML \
106        python3-numpy \
107        python3-opencv \
108        python3-pillow \
109        python3-pip \
110        python3-sphinx \
111        python3-sphinx_rtd_theme \
112        python3-virtualenv \
113        rdma-core-devel \
114        rpm \
115        sed \
116        snappy-devel \
117        sparse \
118        spice-protocol \
119        spice-server-devel \
120        systemd-devel \
121        systemtap-sdt-devel \
122        tar \
123        tesseract \
124        tesseract-langpack-eng \
125        texinfo \
126        usbredir-devel \
127        util-linux \
128        virglrenderer-devel \
129        vte291-devel \
130        which \
131        xen-devel \
132        xfsprogs-devel \
133        zlib-devel \
134        zlib-static && \
135    nosync dnf autoremove -y && \
136    nosync dnf clean all -y && \
137    rpm -qa | sort > /packages.txt && \
138    mkdir -p /usr/libexec/ccache-wrappers && \
139    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
140    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
141    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
142    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
143    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
144
145ENV LANG "en_US.UTF-8"
146ENV MAKE "/usr/bin/make"
147ENV NINJA "/usr/bin/ninja"
148ENV PYTHON "/usr/bin/python3"
149ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
150