-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
60 lines (53 loc) · 1.23 KB
/
Dockerfile
File metadata and controls
60 lines (53 loc) · 1.23 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
apt-utils \
ca-certificates \
git \
git-core \
libncurses-dev \
make \
python3 \
unzip \
wget \
xz-utils \
zip \
python3 \
python3-pip \
python3-pexpect \
python3-git \
python3-jinja2 \
locales \
locales-all \
chrpath \
cpio \
diffstat \
gawk \
iputils-ping \
python3-distutils \
gcc-multilib \
build-essential \
socat \
debianutils \
xterm \
vim \
bc \
tmux \
git-lfs \
liblz4-tool \
zstd \
ca-certificates \
cmake \
ninja-build \
python3-pyelftools \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
RUN wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.4/zephyr-sdk-0.17.4_linux-x86_64_minimal.tar.xz && tar xvf zephyr-sdk-0.17.4_linux-x86_64_minimal.tar.xz -C /usr/local
RUN /usr/local/zephyr-sdk-0.17.4/setup.sh -t all -c
RUN pip3 install west
RUN pip3 install pylint
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["cd /workspace/ && west build -p -b sam_e54_xpro zephyr-microchip-sample.git/app"]