2017-07-18 05:47:09 +03:00
|
|
|
#
|
|
|
|
# Docker mingw64 cross-compiler target
|
|
|
|
#
|
2019-07-12 10:38:22 +03:00
|
|
|
# This docker target builds on the debian Stretch MXE base image.
|
2017-07-18 05:47:09 +03:00
|
|
|
#
|
2020-07-01 16:56:29 +03:00
|
|
|
FROM qemu/debian9-mxe
|
2017-07-18 05:47:09 +03:00
|
|
|
|
|
|
|
MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
|
|
|
|
|
|
|
|
ENV TARGET x86-64
|
|
|
|
|
2019-07-15 20:48:10 +03:00
|
|
|
ENV PATH $PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin
|
|
|
|
|
2019-07-15 20:48:11 +03:00
|
|
|
ENV PKG_CONFIG_PATH \
|
|
|
|
$PKG_CONFIG_PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/lib/pkgconfig
|
|
|
|
|
2019-07-23 17:15:27 +03:00
|
|
|
RUN apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive eatmydata \
|
2017-07-18 05:47:09 +03: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 20:48:10 +03:00
|
|
|
mxe-$TARGET-w64-mingw32.shared-nsis \
|
2017-07-18 05:47:09 +03: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-
|