1FROM ubuntu:18.04 2 3RUN apt-get update && \ 4 apt-get install -y --no-install-recommends \ 5 gcc libc6-dev qemu-user-static ca-certificates \ 6 gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross \ 7 qemu-system-ppc 8 9ENV CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER=powerpc64le-linux-gnu-gcc \ 10 CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc64le-static \ 11 QEMU_CPU=POWER8 \ 12 QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu \ 13 RUST_TEST_THREADS=1 14