]>
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 | 19 | apt install -y --no-install-recommends \ |
1bbf2d01 | 20 | bc \ |
d6db2a1c AB |
21 | build-essential \ |
22 | ca-certificates \ | |
d2427956 | 23 | ccache \ |
d6db2a1c | 24 | clang \ |
1409c047 | 25 | dbus \ |
1bbf2d01 | 26 | gdb-multiarch \ |
d6db2a1c AB |
27 | gettext \ |
28 | git \ | |
1bbf2d01 | 29 | libncurses5-dev \ |
345d7053 | 30 | ninja-build \ |
d6db2a1c AB |
31 | pkg-config \ |
32 | psmisc \ | |
bcbf2794 | 33 | python3 \ |
8d16a310 | 34 | python3-sphinx \ |
327910de | 35 | $(apt-get -s build-dep --arch-only qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2) |
551affb6 AB |
36 | |
37 | ENV FEATURES docs |