2017-07-18 04:47:09 +02:00
|
|
|
#
|
|
|
|
# Docker mingw32 cross-compiler target
|
|
|
|
#
|
2019-07-12 09:38:22 +02:00
|
|
|
# This docker target builds on the debian Stretch MXE base image.
|
2017-07-18 04:47:09 +02:00
|
|
|
#
|
2019-07-12 09:38:22 +02:00
|
|
|
FROM qemu:debian9-mxe
|
2017-07-18 04:47:09 +02:00
|
|
|
|
|
|
|
MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
|
|
|
|
|
|
|
|
ENV TARGET i686
|
|
|
|
|
2019-07-15 19:48:10 +02:00
|
|
|
ENV PATH $PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin
|
|
|
|
|
2019-07-15 19:48:11 +02:00
|
|
|
ENV PKG_CONFIG_PATH \
|
|
|
|
$PKG_CONFIG_PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/lib/pkgconfig
|
|
|
|
|
2019-07-23 16:15:27 +02:00
|
|
|
RUN apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive eatmydata \
|
2017-07-18 04:47:09 +02:00
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-bzip2 \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-curl \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-glib \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-libgcrypt \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-libusb1 \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-lzo \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-nettle \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-ncurses \
|
2019-07-15 19:48:10 +02:00
|
|
|
mxe-$TARGET-w64-mingw32.shared-nsis \
|
2017-07-18 04:47:09 +02:00
|
|
|
mxe-$TARGET-w64-mingw32.shared-pixman \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-pkgconf \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-pthreads \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-sdl2 \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-sdl2-mixer \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-sdl2-gfx \
|
|
|
|
mxe-$TARGET-w64-mingw32.shared-zlib
|
|
|
|
|
|
|
|
# Specify the cross prefix for this image (see tests/docker/common.rc)
|
|
|
|
ENV QEMU_CONFIGURE_OPTS --cross-prefix=$TARGET-w64-mingw32.shared-
|