Dockerfile 428 B

123456789101112
  1. FROM ubuntu:18.04
  2. RUN apt-get update && \
  3. apt-get install -y --no-install-recommends \
  4. gcc libc6-dev qemu-user-static ca-certificates \
  5. gcc-powerpc-linux-gnu libc6-dev-powerpc-cross \
  6. qemu-system-ppc
  7. ENV CARGO_TARGET_POWERPC_UNKNOWN_LINUX_GNU_LINKER=powerpc-linux-gnu-gcc \
  8. CARGO_TARGET_POWERPC_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc-static \
  9. QEMU_LD_PREFIX=/usr/powerpc-linux-gnu \
  10. RUST_TEST_THREADS=1