aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile
blob: b9921fcc50d22a0bb4e135d88a8fa71e635e62d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM ubuntu:17.10

RUN apt-get update && apt-get install -y --no-install-recommends \
        gcc libc6-dev qemu-user ca-certificates \
        gcc-mips64-linux-gnuabi64 libc6-dev-mips64-cross \
        qemu-system-mips64

ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_LINKER=mips64-linux-gnuabi64-gcc \
    CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_RUNNER="qemu-mips64 -L /usr/mips64-linux-gnuabi64" \
    CC_mips64_unknown_linux_gnuabi64=mips64-linux-gnuabi64-gcc \
    PATH=$PATH:/rust/bin