docker: remove packages now dependent of qemu in Stretch
[qemu/ar7.git] / tests / docker / dockerfiles / debian-mipsel-cross.docker
blobeb279c50446b2e362e5992998bb651a52fa6e673
2 # Docker mipsel cross-compiler target
4 # This docker target builds on the debian Stretch base image.
6 FROM qemu:debian9
7 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
9 # Add the foreign architecture we want and install dependencies
10 RUN dpkg --add-architecture mipsel
11 RUN apt-get update
12 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
13     apt-get install -y --no-install-recommends \
14         crossbuild-essential-mipsel
16 # Specify the cross prefix for this image (see tests/docker/common.rc)
17 ENV QEMU_CONFIGURE_OPTS --cross-prefix=mipsel-linux-gnu-
19 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
20     apt-get build-dep -yy -a mipsel qemu
21 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
22     apt-get install -y --no-install-recommends \
23         libbz2-dev:mipsel \
24         liblzo2-dev:mipsel \
25         librdmacm-dev:mipsel \
26         libsnappy-dev:mipsel