Dockerfile 538 B

123456789101112131415
  1. FROM ubuntu:18.04
  2. RUN apt-get update && \
  3. apt-get install -y --no-install-recommends \
  4. ca-certificates \
  5. gcc \
  6. gcc-mips64-linux-gnuabi64 \
  7. libc6-dev \
  8. libc6-dev-mips64-cross \
  9. qemu-user-static \
  10. qemu-system-mips
  11. ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_LINKER=mips64-linux-gnuabi64-gcc \
  12. CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_RUNNER=qemu-mips64-static \
  13. CC_mips64_unknown_linux_gnuabi64=mips64-linux-gnuabi64-gcc \
  14. QEMU_LD_PREFIX=/usr/mips64-linux-gnuabi64 \
  15. RUST_TEST_THREADS=1