docker: add mipsel build target
[qemu.git] / tests / docker / dockerfiles / debian-mipsel-cross.docker
1 #
2 # Docker mipsel cross-compiler target
3 #
4 # This docker target builds on the base debian image.
5 #
6 FROM qemu:debian
7 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
8
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
15
16 # Specify the cross prefix for this image (see tests/docker/common.rc)
17 ENV QEMU_CONFIGURE_OPTS --cross-prefix=mipsel-linux-gnu-
18
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         glusterfs-common:mipsel \
24         libbz2-dev:mipsel \
25         liblzo2-dev:mipsel \
26         libncursesw5-dev:mipsel \
27         libnfs-dev:mipsel \
28         librdmacm-dev:mipsel \
29         libsnappy-dev:mipsel
This page took 0.027145 seconds and 4 git commands to generate.