1FROM rust:1.51.0-slim as base 2RUN apt -qq update -y && apt -qq install -y \ 3 gcc-mips-linux-gnu \ 4 libexpat1 \ 5 libmagic1 \ 6 libmpdec2 \ 7 libreadline7 \ 8 qemu-user 9RUN rustup target add mips-unknown-linux-gnu 10WORKDIR /code 11ADD . . 12RUN cp flatc_debian_stretch flatc 13WORKDIR /code/tests 14RUN rustc --version 15RUN ./RustTest.sh mips-unknown-linux-gnu 16