2 # Docker multiarch cross-compiler target
4 # This docker target is builds on Debian Ports cross compiler targets
5 # to build distro with a selection of cross compilers for building test binaries.
7 # On its own you can't build much but the docker-foo-cross targets
8 # build on top of the base debian image.
12 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
14 RUN echo "deb [arch=amd64] http://deb.debian.org/debian unstable main" > /etc/apt/sources.list
16 # Duplicate deb line as deb-src
17 RUN cat /etc/apt/sources.list | sed -ne "s/^deb\ \(\[.*\]\ \)\?\(.*\)/deb-src \2/p" >> /etc/apt/sources.list
19 # Setup some basic tools we need
20 RUN apt-get update && \
21 DEBIAN_FRONTEND=noninteractive apt-get install -yy eatmydata
22 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
23 apt-get install -y --no-install-recommends \
28 debian-ports-archive-keyring \
36 $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)