2 # Docker mingw32 cross-compiler target
4 # This docker target builds on the debian Stretch MXE base image.
8 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
12 ENV PATH $PATH:/usr/lib/mxe/usr/bin:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin
15 $PKG_CONFIG_PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/lib/pkgconfig
17 RUN apt-get update && \
18 DEBIAN_FRONTEND=noninteractive eatmydata \
19 apt-get install -y --no-install-recommends \
20 mxe-$TARGET-w64-mingw32.shared-bzip2 \
21 mxe-$TARGET-w64-mingw32.shared-curl \
22 mxe-$TARGET-w64-mingw32.shared-glib \
23 mxe-$TARGET-w64-mingw32.shared-libgcrypt \
24 mxe-$TARGET-w64-mingw32.shared-libusb1 \
25 mxe-$TARGET-w64-mingw32.shared-lzo \
26 mxe-$TARGET-w64-mingw32.shared-nettle \
27 mxe-$TARGET-w64-mingw32.shared-ncurses \
28 mxe-$TARGET-w64-mingw32.shared-nsis \
29 mxe-$TARGET-w64-mingw32.shared-pixman \
30 mxe-$TARGET-w64-mingw32.shared-pkgconf \
31 mxe-$TARGET-w64-mingw32.shared-pthreads \
32 mxe-$TARGET-w64-mingw32.shared-sdl2 \
33 mxe-$TARGET-w64-mingw32.shared-sdl2-mixer \
34 mxe-$TARGET-w64-mingw32.shared-sdl2-gfx \
35 mxe-$TARGET-w64-mingw32.shared-zlib
37 # Specify the cross prefix for this image (see tests/docker/common.rc)
38 ENV QEMU_CONFIGURE_OPTS --cross-prefix=$TARGET-w64-mingw32.shared-