-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (30 loc) · 1 KB
/
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
32
33
34
35
FROM ubuntu:rolling
WORKDIR /work
ARG DEBIAN_FRONTEND=noninteractive
ENV PATH "/work/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin:$PATH"
RUN apt-get update && \
apt-get install -q -y apt-utils software-properties-common && \
add-apt-repository universe && \
apt-get upgrade -y && \
apt-get install -q -y ca-certificates wget curl
RUN wget -qO- https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz | tar -xJvf - && \
arm-none-eabi-gcc --version
RUN apt-get install -q -y \
git \
gcc \
g++ \
clang \
gcc-multilib \
g++-multilib \
binutils-dev \
python3 \
python3-pip \
python3-venv \
cmake \
ninja-build \
bzip2 && \
apt-get clean && \
\
python3 -m venv venv && . ./venv/bin/activate && \
python -m pip install --upgrade pip setuptools wheel && \
python -m pip install typing-extensions pylint && python -m pylint --version