]> git.proxmox.com Git - rustc.git/blame - src/liblibc/ci/docker/mipsel-unknown-linux-musl/Dockerfile
New upstream version 1.21.0+dfsg1
[rustc.git] / src / liblibc / ci / docker / mipsel-unknown-linux-musl / Dockerfile
CommitLineData
3b2f2976 1FROM ubuntu:17.10
9e0c209e 2
3b2f2976 3RUN apt-get update && apt-get install -y --no-install-recommends \
9e0c209e
SL
4 gcc libc6-dev qemu-user ca-certificates qemu-system-mips curl \
5 bzip2
6
7RUN mkdir /toolchain
32a655c1
SL
8
9# Note that this originally came from:
10# https://downloads.openwrt.org/snapshots/trunk/malta/generic/OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2
3b2f2976 11RUN curl -L https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2 | \
9e0c209e
SL
12 tar xjf - -C /toolchain --strip-components=2
13
14ENV PATH=$PATH:/rust/bin:/toolchain/bin \
15 CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
3b2f2976
XL
16 CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_LINKER=mipsel-openwrt-linux-gcc \
17 CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_RUNNER="qemu-mipsel -L /toolchain"