Debian Codegraph @

ci/containers/fedora-rawhide-cross-mingw32.Dockerfile

raw
1 # THIS FILE WAS AUTO-GENERATED
2 #
3 # $ lcitool manifest ci/manifest.yml
4 #
5 # https://gitlab.com/libvirt/libvirt-ci
6
7 FROM registry.fedoraproject.org/fedora:rawhide
8
9 RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
10 dnf install -y nosync && \
11 printf '#!/bin/sh\n\
12 if test -d /usr/lib64\n\
13 then\n\
14 export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
15 else\n\
16 export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
17 fi\n\
18 exec "$@"\n' > /usr/bin/nosync && \
19 chmod +x /usr/bin/nosync && \
20 nosync dnf distro-sync -y && \
21 nosync dnf install -y \
22 ca-certificates \
23 ccache \
24 cppi \
25 git \
26 glibc-langpack-en \
27 make \
28 meson \
29 ninja-build \
30 perl-podlators \
31 python3 \
32 python3-pytest \
33 python3-requests \
34 rpm-build && \
35 nosync dnf autoremove -y && \
36 nosync dnf clean all -y && \
37 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
38
39 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
40 ENV LANG "en_US.UTF-8"
41 ENV MAKE "/usr/bin/make"
42 ENV NINJA "/usr/bin/ninja"
43 ENV PYTHON "/usr/bin/python3"
44
45 RUN nosync dnf install -y \
46 mingw32-gcc \
47 mingw32-gettext \
48 mingw32-glib2 \
49 mingw32-headers \
50 mingw32-json-glib \
51 mingw32-libarchive \
52 mingw32-libsoup \
53 mingw32-libxml2 \
54 mingw32-libxslt \
55 mingw32-pkg-config && \
56 nosync dnf clean all -y && \
57 rpm -qa | sort > /packages.txt && \
58 mkdir -p /usr/libexec/ccache-wrappers && \
59 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-cc && \
60 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-gcc
61
62 ENV ABI "i686-w64-mingw32"
63 ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw32.meson"