Debian Codegraph @

ci/containers/ci-fedora-33.Dockerfile

raw
1 # THIS FILE WAS AUTO-GENERATED
2 #
3 # $ lcitool dockerfile fedora-33 libvirt+dist,libvirt-glib+dist,libvirt-dbus
4 #
5 # https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
6 FROM registry.fedoraproject.org/fedora:33
7
8 RUN dnf install -y nosync && \
9 echo -e '#!/bin/sh\n\
10 if test -d /usr/lib64\n\
11 then\n\
12 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
13 else\n\
14 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
15 fi\n\
16 exec "$@"' > /usr/bin/nosync && \
17 chmod +x /usr/bin/nosync && \
18 nosync dnf update -y && \
19 nosync dnf install -y \
20 ca-certificates \
21 ccache \
22 dbus-daemon \
23 gcc \
24 git \
25 glib2-devel \
26 glibc-langpack-en \
27 libvirt-devel \
28 libvirt-gobject-devel \
29 make \
30 meson \
31 ninja-build \
32 pkgconfig \
33 python3 \
34 python3-dbus \
35 python3-docutils \
36 python3-flake8 \
37 python3-gobject \
38 python3-pytest \
39 rpm-build && \
40 nosync dnf autoremove -y && \
41 nosync dnf clean all -y && \
42 rpm -qa | sort > /packages.txt && \
43 mkdir -p /usr/libexec/ccache-wrappers && \
44 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
45 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
46
47 ENV LANG "en_US.UTF-8"
48 ENV MAKE "/usr/bin/make"
49 ENV NINJA "/usr/bin/ninja"
50 ENV PYTHON "/usr/bin/python3"
51 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"