2017-07-18 05:47:09 +03:00
|
|
|
#
|
|
|
|
# Docker mingw cross-compiler target
|
|
|
|
#
|
|
|
|
# This docker target builds on the debian Jessie base image.
|
|
|
|
#
|
|
|
|
FROM qemu:debian8
|
|
|
|
|
|
|
|
MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
|
|
|
|
|
|
|
|
# Add the foreign architecture we want and install dependencies
|
|
|
|
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D43A795B73B16ABE9643FE1AFD8FFF16DB45C6AB && \
|
|
|
|
echo "deb http://pkg.mxe.cc/repos/apt/debian jessie main" > /etc/apt/sources.list.d/mxeapt.list
|
|
|
|
RUN apt-get update
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive eatmydata \
|
|
|
|
apt-get install -y --no-install-recommends \
|
2017-10-31 15:28:24 +03:00
|
|
|
libpython2.7-stdlib \
|
2018-06-28 19:46:38 +03:00
|
|
|
$(apt-get -s install -y --no-install-recommends gw32.shared-mingw-w64 | egrep "^Inst mxe-x86-64-unknown-" | cut -d\ -f2)
|
2017-07-18 05:47:09 +03:00
|
|
|
|
|
|
|
ENV PATH $PATH:/usr/lib/mxe/usr/bin/
|