qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

fedora-win32-cross.docker (3155B)


      1 # THIS FILE WAS AUTO-GENERATED
      2 #
      3 #  $ lcitool dockerfile --layers all --cross mingw32 fedora-35 qemu
      4 #
      5 # https://gitlab.com/libvirt/libvirt-ci
      6 
      7 FROM registry.fedoraproject.org/fedora:35
      8 
      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                bash \
     22                bc \
     23                bison \
     24                bzip2 \
     25                ca-certificates \
     26                ccache \
     27                ctags \
     28                dbus-daemon \
     29                diffutils \
     30                findutils \
     31                flex \
     32                gcovr \
     33                genisoimage \
     34                git \
     35                glib2-devel \
     36                glibc-langpack-en \
     37                hostname \
     38                llvm \
     39                make \
     40                meson \
     41                ninja-build \
     42                nmap-ncat \
     43                openssh-clients \
     44                pcre-static \
     45                perl-base \
     46                python3 \
     47                python3-PyYAML \
     48                python3-numpy \
     49                python3-opencv \
     50                python3-pillow \
     51                python3-pip \
     52                python3-sphinx \
     53                python3-sphinx_rtd_theme \
     54                rpm \
     55                sed \
     56                sparse \
     57                spice-protocol \
     58                tar \
     59                tesseract \
     60                tesseract-langpack-eng \
     61                texinfo \
     62                util-linux \
     63                which && \
     64     nosync dnf autoremove -y && \
     65     nosync dnf clean all -y
     66 
     67 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
     68 ENV LANG "en_US.UTF-8"
     69 ENV MAKE "/usr/bin/make"
     70 ENV NINJA "/usr/bin/ninja"
     71 ENV PYTHON "/usr/bin/python3"
     72 
     73 RUN nosync dnf install -y \
     74                mingw32-SDL2 \
     75                mingw32-SDL2_image \
     76                mingw32-bzip2 \
     77                mingw32-curl \
     78                mingw32-gcc \
     79                mingw32-gcc-c++ \
     80                mingw32-gettext \
     81                mingw32-glib2 \
     82                mingw32-gnutls \
     83                mingw32-gtk3 \
     84                mingw32-libgcrypt \
     85                mingw32-libjpeg-turbo \
     86                mingw32-libpng \
     87                mingw32-libtasn1 \
     88                mingw32-nettle \
     89                mingw32-nsis \
     90                mingw32-pixman \
     91                mingw32-pkg-config && \
     92     nosync dnf clean all -y && \
     93     rpm -qa | sort > /packages.txt && \
     94     mkdir -p /usr/libexec/ccache-wrappers && \
     95     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-c++ && \
     96     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-cc && \
     97     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-g++ && \
     98     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-gcc
     99 
    100 ENV ABI "i686-w64-mingw32"
    101 ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw32.meson"
    102 ENV QEMU_CONFIGURE_OPTS --cross-prefix=i686-w64-mingw32-
    103 ENV DEF_TARGET_LIST i386-softmmu