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-powerpc64-linux-gnu libc6-dev-ppc64-cross \ 7 binfmt-support qemu-user-static qemu-system-ppc 8 9ENV CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_LINKER=powerpc64-linux-gnu-gcc \ 10 CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc64-static \ 11 CC_powerpc64_unknown_linux_gnu=powerpc64-linux-gnu-gcc \ 12 QEMU_LD_PREFIX=/usr/powerpc64-linux-gnu \ 13 RUST_TEST_THREADS=1 14