1FROM ubuntu:18.04 2RUN apt-get update && \ 3 apt-get install -y --no-install-recommends \ 4 gcc libc6-dev ca-certificates \ 5 gcc-arm-linux-gnueabi libc6-dev-armel-cross qemu-user-static 6ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER=arm-linux-gnueabi-gcc \ 7 CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_RUNNER=qemu-arm-static \ 8 QEMU_LD_PREFIX=/usr/arm-linux-gnueabi \ 9 RUST_TEST_THREADS=1 10