forked from WBABD/docker-arm-none-eabi-gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (27 loc) · 935 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM debian:stable
LABEL maintainer="Rik van der Heijden <[email protected]>"
LABEL Description="Debian-based image for building and debugging arm-embedded projects from git"
WORKDIR /work
ADD . /work
# Install any needed packages specified in requirements.txt
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
python3 \
python3-pip \
python \
python3-dev \
python-dev \
protobuf-compiler \
perl \
clang-tools \
clang \
# Development files
build-essential \
git \
bzip2 \
wget && \
apt-get clean
RUN wget -qO- "https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
RUN wget -qO- "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2"| tar -xj
ENV PATH "/work/gcc-arm-none-eabi-10-2020-q4-major/bin:$PATH"