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

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 linux-headers-generic

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