Update the mips docker image

Use the standard mips compilers from Ubuntu now
This commit is contained in:
Alex Crichton 2016-08-26 22:59:26 -07:00
parent 8018a50514
commit fc900ee6c9
1 changed files with 5 additions and 8 deletions

View File

@ -1,13 +1,10 @@
FROM ubuntu:15.10 FROM ubuntu:16.04
RUN apt-get update RUN apt-get update
RUN apt-get install -y --no-install-recommends \ RUN apt-get install -y --no-install-recommends \
software-properties-common gcc libc6-dev qemu-user gcc libc6-dev qemu-user ca-certificates \
RUN add-apt-repository ppa:angelsl/mips-cross gcc-mips-linux-gnu libc6-dev-mips-cross \
RUN apt-get update qemu-system-mips
RUN apt-get install -y --no-install-recommends \
gcc-5-mips-linux-gnu libc6-dev-mips-cross
ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc-5 \ ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc \
CC_mips_unknown_linux_gnu=mips-linux-gnu-gcc-5 \
PATH=$PATH:/rust/bin PATH=$PATH:/rust/bin