Dockerfile 533 B

1234567891011121314
  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-mips64el-linux-gnuabi64 \
  7. libc6-dev \
  8. libc6-dev-mips64el-cross \
  9. qemu-user-static
  10. ENV CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_LINKER=mips64el-linux-gnuabi64-gcc \
  11. CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_RUNNER=qemu-mips64el-static \
  12. CC_mips64el_unknown_linux_gnuabi64=mips64el-linux-gnuabi64-gcc \
  13. QEMU_LD_PREFIX=/usr/mips64el-linux-gnuabi64 \
  14. RUST_TEST_THREADS=1