aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/docker/mips-unknown-linux-gnu/Dockerfile
blob: c8623a56bb3a8b06ebd066d5b296ae2ee5c1284c (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 linux-headers-generic

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