Dockerfile 474 B

12345678910111213
  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-powerpc64le-linux-gnu libc6-dev-ppc64el-cross \
  6. qemu-system-ppc
  7. ENV CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER=powerpc64le-linux-gnu-gcc \
  8. CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc64le-static \
  9. QEMU_CPU=POWER8 \
  10. QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu \
  11. RUST_TEST_THREADS=1