ar7: Update board code for latest QEMU API
[qemu/ar7.git] / tests / docker / dockerfiles / debian-mips64el-cross.docker
blobfd2aafeb01b9b1e2727898daed8c9b1dfca46c4b
2 # Docker mips64el cross-compiler target
4 # This docker target builds on the debian Stretch base image.
7 FROM qemu:debian9
9 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
11 # Add the foreign architecture we want and install dependencies
12 RUN dpkg --add-architecture mips64el && \
13     apt-get update
14 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
15     apt-get install -y --no-install-recommends \
16         gcc-mips64el-linux-gnuabi64
18 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
19     apt-get build-dep -yy -a mips64el qemu
21 # Specify the cross prefix for this image (see tests/docker/common.rc)
22 ENV QEMU_CONFIGURE_OPTS --cross-prefix=mips64el-linux-gnuabi64-
24 # Install extra libraries to increase code coverage
25 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
26     apt-get install -y --no-install-recommends \
27         libbz2-dev:mips64el \
28         liblzo2-dev:mips64el \
29         librdmacm-dev:mips64el \
30         libsnappy-dev:mips64el