1FROM ubuntu:18.04 2 3RUN apt-get update && \ 4 apt-get install -y --no-install-recommends \ 5 gcc libc6-dev ca-certificates \ 6 gcc-mipsel-linux-gnu libc6-dev-mipsel-cross \ 7 binfmt-support qemu-user-static 8 9ENV CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_GNU_LINKER=mipsel-linux-gnu-gcc \ 10 CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_GNU_RUNNER=qemu-mipsel-static \ 11 QEMU_LD_PREFIX=/usr/mipsel-linux-gnu \ 12 RUST_TEST_THREADS=1 13