Dockerfile 589 B

12345678910
  1. FROM ubuntu:16.04
  2. RUN apt-get update && \
  3. apt-get install -y --no-install-recommends \
  4. ca-certificates curl gcc gcc-arm-none-eabi libc6-dev libcurl4-openssl-dev libssh2-1 libnewlib-dev qemu-user-static
  5. RUN curl -LSfs https://japaric.github.io/trust/install.sh | \
  6. sh -s -- --git japaric/xargo --tag v0.3.1 --target x86_64-unknown-linux-gnu --to /usr/bin
  7. ENV AR_thumbv7em_linux_eabi=arm-none-eabi-ar \
  8. CARGO_TARGET_THUMBV7EM_LINUX_EABI_LINKER=arm-none-eabi-gcc \
  9. CARGO_TARGET_THUMBV7EM_LINUX_EABI_RUNNER=qemu-arm-static \
  10. CC_thumbv7em_linux_eabi=arm-none-eabi-gcc \