docs/system/gdb.rst: Add some more heading structure
[qemu/ar7.git] / tests / docker / dockerfiles / debian-mips-cross.docker
blob26c154014db2a60777609d8953a5b9f244f73329
2 # Docker mips cross-compiler target
4 # This docker target builds on the debian Buster base image.
6 FROM qemu/debian10
8 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
10 # Add the foreign architecture we want and install dependencies
11 RUN dpkg --add-architecture mips
12 RUN apt update && \
13     DEBIAN_FRONTEND=noninteractive eatmydata \
14     apt install -y --no-install-recommends \
15         gcc-mips-linux-gnu
17 RUN apt update && \
18     DEBIAN_FRONTEND=noninteractive eatmydata \
19     apt build-dep -yy -a mips --arch-only qemu
21 # Specify the cross prefix for this image (see tests/docker/common.rc)
22 ENV QEMU_CONFIGURE_OPTS --cross-prefix=mips-linux-gnu-
23 ENV DEF_TARGET_LIST mips-softmmu,mipsel-linux-user
25 # Install extra libraries to increase code coverage
26 RUN apt update && \
27     DEBIAN_FRONTEND=noninteractive eatmydata \
28     apt install -y --no-install-recommends \
29         libbz2-dev:mips \
30         liblzo2-dev:mips \
31         librdmacm-dev:mips \
32         libsnappy-dev:mips