-
Notifications
You must be signed in to change notification settings - Fork 96
/
Dockerfile
33 lines (27 loc) · 743 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
32
33
FROM espressif/idf:v5.1.1
ARG DEBIAN_FRONTEND="noninteractive"
RUN apt-get -qq update && \
apt-get -qq install \
git \
libusb-1.0-0 \
nano \
python-is-python3 \
python3 \
python3-num2words \
python3-pip \
python3-requests \
python3-venv \
sudo \
tio \
&& rm -rf /var/lib/apt/lists/*
# Podman
RUN useradd --create-home --uid 1000 build
COPY --chown=1000 container.gitconfig /home/build/.gitconfig
# Docker
COPY container.gitconfig /root/.gitconfig
ENV PATH="$PATH:/willow/.local/bin"
WORKDIR /willow
ENV ADF_VER="willow-main-2024010900"
RUN \
cd /opt/esp/idf && \
curl https://raw.githubusercontent.com/toverainc/esp-adf/$ADF_VER/idf_patches/idf_v5.1_freertos.patch | patch -p1