Dockerfile 674 B

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