1FROM ubuntu:18.04 2RUN apt-get update && \ 3 apt-get install -y --no-install-recommends \ 4 gcc libc6-dev ca-certificates \ 5 gcc-aarch64-linux-gnu libc6-dev-arm64-cross \ 6 qemu-user-static 7ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \ 8 CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUNNER=qemu-aarch64-static \ 9 QEMU_LD_PREFIX=/usr/aarch64-linux-gnu \ 10 RUST_TEST_THREADS=1 11