1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all fedora-40 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM registry.fedoraproject.org/fedora:40
9 RUN dnf install -y nosync && \
11 if test -d /usr/lib64\n\
13 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
15 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
17 exec "$@"\n' > /usr/bin/nosync && \
18 chmod +x /usr/bin/nosync && \
19 nosync dnf update -y && \
20 nosync dnf install -y \
38 device-mapper-multipath-devel \
105 pulseaudio-libs-devel \
113 python3-sphinx_rtd_theme \
124 systemtap-sdt-devel \
127 tesseract-langpack-eng \
130 virglrenderer-devel \
138 nosync dnf autoremove -y && \
139 nosync dnf clean all -y && \
140 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
141 rpm -qa | sort > /packages.txt && \
142 mkdir -p /usr/libexec/ccache-wrappers && \
143 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
144 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
145 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
147 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
148 ENV LANG "en_US.UTF-8"
149 ENV MAKE "/usr/bin/make"
150 ENV NINJA "/usr/bin/ninja"
151 ENV PYTHON "/usr/bin/python3"
152 # As a final step configure the user (if env is defined)
155 RUN if [ "${USER}" ]; then \
156 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi