1# THIS FILE WAS AUTO-GENERATED
2#
3#  $ lcitool dockerfile --layers all 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        liburing-devel \
81        libusbx-devel \
82        libzstd-devel \
83        llvm \
84        lttng-ust-devel \
85        lzo-devel \
86        make \
87        mesa-libgbm-devel \
88        meson \
89        ncurses-devel \
90        nettle-devel \
91        ninja-build \
92        nmap-ncat \
93        numactl-devel \
94        openssh-clients \
95        pam-devel \
96        pcre-static \
97        perl-base \
98        pixman-devel \
99        pkgconfig \
100        pulseaudio-libs-devel \
101        python3 \
102        python3-PyYAML \
103        python3-numpy \
104        python3-opencv \
105        python3-pillow \
106        python3-pip \
107        python3-sphinx \
108        python3-sphinx_rtd_theme \
109        python3-virtualenv \
110        rdma-core-devel \
111        rpm \
112        sed \
113        snappy-devel \
114        sparse \
115        spice-protocol \
116        spice-server-devel \
117        systemd-devel \
118        systemtap-sdt-devel \
119        tar \
120        tesseract \
121        tesseract-langpack-eng \
122        texinfo \
123        usbredir-devel \
124        util-linux \
125        virglrenderer-devel \
126        vte291-devel \
127        which \
128        xen-devel \
129        xfsprogs-devel \
130        zlib-devel \
131        zlib-static && \
132    nosync dnf autoremove -y && \
133    nosync dnf clean all -y && \
134    rpm -qa | sort > /packages.txt && \
135    mkdir -p /usr/libexec/ccache-wrappers && \
136    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
137    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
138    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
139    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
140    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
141
142ENV LANG "en_US.UTF-8"
143ENV MAKE "/usr/bin/make"
144ENV NINJA "/usr/bin/ninja"
145ENV PYTHON "/usr/bin/python3"
146ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
147