Dockerfile 424 B

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