1# 2# Docker mipsel cross-compiler target 3# 4# This docker target builds on the debian Stretch base image. 5# 6FROM qemu:debian9 7MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> 8 9# Add the foreign architecture we want and install dependencies 10RUN dpkg --add-architecture mipsel 11RUN apt-get update 12RUN 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) 17ENV QEMU_CONFIGURE_OPTS --cross-prefix=mipsel-linux-gnu- 18 19RUN DEBIAN_FRONTEND=noninteractive eatmydata \ 20 apt-get build-dep -yy -a mipsel qemu 21RUN 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 27