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        bison \
27        brlapi-devel \
28        bzip2 \
29        bzip2-devel \
30        ca-certificates \
31        capstone-devel \
32        ccache \
33        clang \
34        ctags \
35        cyrus-sasl-devel \
36        daxctl-devel \
37        dbus-daemon \
38        device-mapper-multipath-devel \
39        diffutils \
40        findutils \
41        flex \
42        fuse3-devel \
43        gcc \
44        gcc-c++ \
45        gcovr \
46        genisoimage \
47        gettext \
48        git \
49        glib2-devel \
50        glib2-static \
51        glibc-langpack-en \
52        glibc-static \
53        glusterfs-api-devel \
54        gnutls-devel \
55        gtk3-devel \
56        hostname \
57        jemalloc-devel \
58        json-c-devel \
59        libaio-devel \
60        libasan \
61        libattr-devel \
62        libbpf-devel \
63        libcacard-devel \
64        libcap-ng-devel \
65        libcmocka-devel \
66        libcurl-devel \
67        libdrm-devel \
68        libepoxy-devel \
69        libfdt-devel \
70        libffi-devel \
71        libgcrypt-devel \
72        libiscsi-devel \
73        libjpeg-devel \
74        libnfs-devel \
75        libpmem-devel \
76        libpng-devel \
77        librbd-devel \
78        libseccomp-devel \
79        libselinux-devel \
80        libslirp-devel \
81        libssh-devel \
82        libtasn1-devel \
83        libubsan \
84        liburing-devel \
85        libusbx-devel \
86        libzstd-devel \
87        llvm \
88        lttng-ust-devel \
89        lzo-devel \
90        make \
91        mesa-libgbm-devel \
92        meson \
93        ncurses-devel \
94        nettle-devel \
95        ninja-build \
96        nmap-ncat \
97        numactl-devel \
98        openssh-clients \
99        pam-devel \
100        pcre-static \
101        perl-base \
102        pixman-devel \
103        pkgconfig \
104        pulseaudio-libs-devel \
105        python3 \
106        python3-PyYAML \
107        python3-numpy \
108        python3-opencv \
109        python3-pillow \
110        python3-pip \
111        python3-sphinx \
112        python3-sphinx_rtd_theme \
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