Fork from inav at github. Modified for some special functions needs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
733 B

  1. FROM ubuntu:xenial
  2. LABEL maintainer Andy Schwarz <flyandi@yahoo.com>
  3. # Configuration
  4. VOLUME /home/src/
  5. WORKDIR /home/src/
  6. # Essentials
  7. RUN mkdir -p /home/src && \
  8. apt-get update && \
  9. apt-get install -y software-properties-common python-software-properties ruby make git gcc wget curl bzip2 lib32ncurses5 lib32z1
  10. # Toolchain
  11. ENV TOOLCHAIN=
  12. ENV TOOLCHAIN_ID=
  13. RUN wget -P /tmp https://developer.arm.com/-/media/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
  14. RUN mkdir -p /opt && \
  15. cd /opt && \
  16. tar xvjf /tmp/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -C /opt && \
  17. chmod -R -w /opt/gcc-arm-none-eabi-6-2017-q2-update
  18. ENV PATH="/opt/gcc-arm-none-eabi-6-2017-q2-update/bin:${PATH}"