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        json-c-devel \
57        libaio-devel \
58        libasan \
59        libattr-devel \
60        libbpf-devel \
61        libcacard-devel \
62        libcap-ng-devel \
63        libcmocka-devel \
64        libcurl-devel \
65        libdrm-devel \
66        libepoxy-devel \
67        libfdt-devel \
68        libffi-devel \
69        libgcrypt-devel \
70        libiscsi-devel \
71        libjpeg-devel \
72        libnfs-devel \
73        libpmem-devel \
74        libpng-devel \
75        librbd-devel \
76        libseccomp-devel \
77        libselinux-devel \
78        libslirp-devel \
79        libssh-devel \
80        libtasn1-devel \
81        libubsan \
82        liburing-devel \
83        libusbx-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-base \
100        pixman-devel \
101        pkgconfig \
102        pulseaudio-libs-devel \
103        python3 \
104        python3-PyYAML \
105        python3-numpy \
106        python3-opencv \
107        python3-pillow \
108        python3-pip \
109        python3-sphinx \
110        python3-sphinx_rtd_theme \
111        rdma-core-devel \
112        rpm \
113        sed \
114        snappy-devel \
115        sparse \
116        spice-protocol \
117        spice-server-devel \
118        systemd-devel \
119        systemtap-sdt-devel \
120        tar \
121        tesseract \
122        tesseract-langpack-eng \
123        texinfo \
124        usbredir-devel \
125        util-linux \
126        virglrenderer-devel \
127        vte291-devel \
128        which \
129        xen-devel \
130        xfsprogs-devel \
131        zlib-devel \
132        zlib-static && \
133    nosync dnf autoremove -y && \
134    nosync dnf clean all -y && \
135    rpm -qa | sort > /packages.txt && \
136    mkdir -p /usr/libexec/ccache-wrappers && \
137    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
138    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
139    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
140    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
141    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
142
143ENV LANG "en_US.UTF-8"
144ENV MAKE "/usr/bin/make"
145ENV NINJA "/usr/bin/ninja"
146ENV PYTHON "/usr/bin/python3"
147ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
148