2016-09-30 07:50:04 +08:00
|
|
|
FROM ubuntu:16.04
|
2016-11-13 05:09:47 +08:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y --no-install-recommends \
|
2017-04-11 06:16:13 +08:00
|
|
|
ca-certificates curl gcc gcc-arm-none-eabi libc6-dev libcurl4-openssl-dev libssh2-1 libnewlib-dev qemu-user-static
|
2016-11-24 01:47:42 +08:00
|
|
|
RUN curl -LSfs https://japaric.github.io/trust/install.sh | \
|
2016-12-31 12:18:17 +08:00
|
|
|
sh -s -- --git japaric/xargo --tag v0.3.1 --target x86_64-unknown-linux-gnu --to /usr/bin
|
2017-04-11 06:16:13 +08:00
|
|
|
ENV AR_thumbv7em_linux_eabi=arm-none-eabi-ar \
|
|
|
|
CARGO_TARGET_THUMBV7EM_LINUX_EABI_LINKER=arm-none-eabi-gcc \
|
|
|
|
CC_thumbv7em_linux_eabi=arm-none-eabi-gcc \
|