diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2019-07-12 08:38:22 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-07-23 15:53:25 +0100 |
commit | 67bd36beda1ae5748a0511335eddaa94270dc8cf (patch) | |
tree | 3250b3ae1ce4aa0191e3e4e6e26e0cf68d36fa55 /tests/docker/dockerfiles/debian9-mxe.docker | |
parent | 601b5575e245d1d5bb3633d2422674e6da23f7d0 (diff) |
tests/dockerfiles: update the win cross builds to stretch
While fixing up pkg.mxe.cc they move the URLs around a bit and dropped
Jessie support in favour of Stretch. We also need to update the keys
used to verify the packages.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/docker/dockerfiles/debian9-mxe.docker')
-rw-r--r-- | tests/docker/dockerfiles/debian9-mxe.docker | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/debian9-mxe.docker b/tests/docker/dockerfiles/debian9-mxe.docker new file mode 100644 index 0000000000..5bc8a6d5c3 --- /dev/null +++ b/tests/docker/dockerfiles/debian9-mxe.docker @@ -0,0 +1,22 @@ +# +# Docker mingw cross-compiler target +# +# This docker target builds on the debian Stretch base image. +# +FROM qemu:debian9 + +MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt install -y --no-install-recommends gnupg dirmngr + +# Add the foreign architecture we want and install dependencies +RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6BF758A33A3A276 && \ + echo "deb http://pkg.mxe.cc/repos/apt stretch main" > /etc/apt/sources.list.d/mxeapt.list +RUN apt-get update +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + libpython2.7-stdlib \ + $(apt-get -s install -y --no-install-recommends gw32.shared-mingw-w64 | egrep "^Inst mxe-x86-64-unknown-" | cut -d\ -f2) + +ENV PATH $PATH:/usr/lib/mxe/usr/bin/ |