Dockerfile 647 B

1234567891011121314
  1. FROM ubuntu:18.04
  2. RUN apt-get update && apt-get install -y --no-install-recommends \
  3. make gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi \
  4. autoconf automake libtool curl wget g++ unzip build-essential curl && \
  5. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  6. RUN apt-get update && apt-get install -y --no-install-recommends \
  7. python python-pip libstdc++-arm-none-eabi-newlib && \
  8. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  9. RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile=minimal --target thumbv7em-none-eabi thumbv7em-none-eabihf
  10. ENV PATH="/root/.cargo/bin:${PATH}"
  11. ENV USER=root