summaryrefslogtreecommitdiff
path: root/libc/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile')
-rw-r--r--libc/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile b/libc/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile
new file mode 100644
index 0000000..434c908
--- /dev/null
+++ b/libc/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile
@@ -0,0 +1,11 @@
+FROM ubuntu:17.10
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ gcc libc6-dev qemu-user ca-certificates \
+ gcc-mips64el-linux-gnuabi64 libc6-dev-mips64el-cross \
+ qemu-system-mips64el
+
+ENV CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_LINKER=mips64el-linux-gnuabi64-gcc \
+ CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_RUNNER="qemu-mips64el -L /usr/mips64el-linux-gnuabi64" \
+ CC_mips64el_unknown_linux_gnuabi64=mips64el-linux-gnuabi64-gcc \
+ PATH=$PATH:/rust/bin