rust: Drop box ptr
[nbdkit.git] / ci / containers / fedora-35-cross-mingw64.Dockerfile
blob62545bdafca7dad770817585c7e2a698ec48c7a4
1 # THIS FILE WAS AUTO-GENERATED
3 #  $ lcitool manifest ci/manifest.yml
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM registry.fedoraproject.org/fedora:35
9 RUN dnf install -y nosync && \
10     echo -e '#!/bin/sh\n\
11 if test -d /usr/lib64\n\
12 then\n\
13     export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
14 else\n\
15     export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
16 fi\n\
17 exec "$@"' > /usr/bin/nosync && \
18     chmod +x /usr/bin/nosync && \
19     nosync dnf update -y && \
20     nosync dnf install -y \
21         autoconf \
22         automake \
23         bash \
24         bash-completion \
25         ca-certificates \
26         cargo \
27         ccache \
28         clippy \
29         e2fsprogs \
30         expect \
31         genisoimage \
32         git \
33         glibc-common \
34         glibc-langpack-en \
35         golang \
36         gzip \
37         iproute \
38         jq \
39         kernel \
40         kernel-headers \
41         libcom_err-devel \
42         libguestfs-devel \
43         libnbd-devel \
44         libtool \
45         libtorrent-devel \
46         libzstd-devel \
47         lua-devel \
48         make \
49         ocaml \
50         openssh-clients \
51         perl-ExtUtils-Embed \
52         perl-Pod-Simple \
53         perl-base \
54         perl-devel \
55         perl-podlators \
56         podman \
57         python3 \
58         python3-boto3 \
59         python3-devel \
60         python3-flake8 \
61         python3-libnbd \
62         qemu-img \
63         rust \
64         socat \
65         tcl-devel \
66         util-linux \
67         xorriso \
68         xz && \
69     nosync dnf autoremove -y && \
70     nosync dnf clean all -y
72 ENV LANG "en_US.UTF-8"
73 ENV MAKE "/usr/bin/make"
74 ENV PYTHON "/usr/bin/python3"
75 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
77 RUN nosync dnf install -y \
78         mingw64-curl \
79         mingw64-gcc \
80         mingw64-gcc-c++ \
81         mingw64-gnutls \
82         mingw64-headers \
83         mingw64-libvirt \
84         mingw64-pkg-config && \
85     nosync dnf clean all -y && \
86     rpm -qa | sort > /packages.txt && \
87     mkdir -p /usr/libexec/ccache-wrappers && \
88     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-c++ && \
89     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-cc && \
90     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-g++ && \
91     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-gcc
93 ENV ABI "x86_64-w64-mingw32"
94 ENV CONFIGURE_OPTS "--host=x86_64-w64-mingw32"