2016-10-15 09:26:59 +08:00
|
|
|
FROM ubuntu:16.04
|
2016-11-13 05:09:47 +08:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y --no-install-recommends \
|
2016-10-15 09:26:59 +08:00
|
|
|
ca-certificates \
|
|
|
|
gcc \
|
|
|
|
gcc-mips64-linux-gnuabi64 \
|
|
|
|
libc6-dev \
|
|
|
|
libc6-dev-mips64-cross \
|
2016-11-13 05:09:47 +08:00
|
|
|
qemu-user-static \
|
2016-11-13 06:36:59 +08:00
|
|
|
qemu-system-mips
|
2016-10-15 09:26:59 +08:00
|
|
|
ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_LINKER=mips64-linux-gnuabi64-gcc \
|
|
|
|
CC_mips64_unknown_linux_gnuabi64=mips64-linux-gnuabi64-gcc \
|
|
|
|
QEMU_LD_PREFIX=/usr/mips64-linux-gnuabi64 \
|
|
|
|
RUST_TEST_THREADS=1
|