]>
Commit | Line | Data |
---|---|---|
982e758a PMD |
1 | # |
2 | # Docker mingw32 cross-compiler target | |
3 | # | |
67bd36be | 4 | # This docker target builds on the debian Stretch MXE base image. |
982e758a | 5 | # |
67bd36be | 6 | FROM qemu:debian9-mxe |
982e758a PMD |
7 | |
8 | MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> | |
9 | ||
10 | ENV TARGET i686 | |
11 | ||
a51d6a54 | 12 | ENV PATH $PATH:/usr/lib/mxe/usr/bin:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin |
c054f3f4 | 13 | |
a88819ed PMD |
14 | ENV PKG_CONFIG_PATH \ |
15 | $PKG_CONFIG_PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/lib/pkgconfig | |
16 | ||
98808c3d PMD |
17 | RUN apt-get update && \ |
18 | DEBIAN_FRONTEND=noninteractive eatmydata \ | |
982e758a PMD |
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 \ | |
982e758a PMD |
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 \ | |
c054f3f4 | 28 | mxe-$TARGET-w64-mingw32.shared-nsis \ |
982e758a PMD |
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 | |
36 | ||
37 | # Specify the cross prefix for this image (see tests/docker/common.rc) | |
38 | ENV QEMU_CONFIGURE_OPTS --cross-prefix=$TARGET-w64-mingw32.shared- |