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

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

ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc \
    CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_RUNNER="qemu-mips -L /usr/mips-linux-gnu" \
    PATH=$PATH:/rust/bin