2017-07-18 04:47:09 +02:00
|
|
|
#
|
|
|
|
# Docker mingw64 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
|
|
|
#
|
2020-07-01 15:56:29 +02:00
|
|
|
FROM qemu/debian9-mxe
|
2017-07-18 04:47:09 +02:00
|
|
|
|
|
|
|
MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
|
|
|
|
|
|
|
|
ENV TARGET x86-64
|
|
|
|
|
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=x86_64-w64-mingw32.shared-
|