]>
Commit | Line | Data |
---|---|---|
f8473251 PMD |
1 | # |
2 | # Docker multiarch cross-compiler target | |
3 | # | |
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. | |
6 | # | |
7 | # On its own you can't build much but the docker-foo-cross targets | |
8 | # build on top of the base debian image. | |
9 | # | |
10 | FROM debian:unstable | |
11 | ||
12 | MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> | |
13 | ||
14 | RUN echo "deb [arch=amd64] http://deb.debian.org/debian unstable main" > /etc/apt/sources.list | |
15 | ||
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 | |
18 | ||
19 | # Setup some basic tools we need | |
20 | RUN apt-get update && \ | |
98808c3d PMD |
21 | DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ |
22 | DEBIAN_FRONTEND=noninteractive eatmydata \ | |
f8473251 PMD |
23 | apt-get install -y --no-install-recommends \ |
24 | bison \ | |
25 | build-essential \ | |
26 | ca-certificates \ | |
27 | clang \ | |
28 | debian-ports-archive-keyring \ | |
29 | flex \ | |
62838478 | 30 | gettext \ |
f8473251 PMD |
31 | git \ |
32 | pkg-config \ | |
33 | psmisc \ | |
34 | python \ | |
35 | texinfo \ | |
36 | $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2) |