]>
Commit | Line | Data |
---|---|---|
d6db2a1c AB |
1 | # |
2 | # Docker multiarch cross-compiler target | |
3 | # | |
4 | # This docker target is builds on Debian cross compiler targets to build distro | |
5 | # 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:buster-slim | |
11 | ||
12 | # Duplicate deb line as deb-src | |
13 | RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list | |
14 | ||
15 | # Install common build utilities | |
98808c3d PMD |
16 | RUN apt update && \ |
17 | DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ | |
18 | DEBIAN_FRONTEND=noninteractive eatmydata \ | |
d6db2a1c AB |
19 | apt install -y --no-install-recommends \ |
20 | bison \ | |
21 | build-essential \ | |
22 | ca-certificates \ | |
23 | clang \ | |
24 | flex \ | |
25 | gettext \ | |
26 | git \ | |
27 | pkg-config \ | |
28 | psmisc \ | |
bcbf2794 | 29 | python3 \ |
8d16a310 | 30 | python3-sphinx \ |
d6db2a1c AB |
31 | texinfo \ |
32 | $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2) |