Skip to content

Commit 9e8fa33

Browse files
committed
docker: Update Containerfile for ESP-IDF integration
Add environment variables for ESP-IDF paths and update git submodules for the project dependencies. Signed-off-by: Chiho Sin <[email protected]>
1 parent a9d13be commit 9e8fa33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Containerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,10 @@ RUN pip3 install --upgrade huffman
6868

6969
RUN python tools/ci_fetch_deps.py ${BUILD_PLATFORM}
7070

71+
ENV IDF_PATH=/workspace/ports/espressif/esp-idf
72+
ENV IDF_TOOLS_PATH=/workspace/.idf_tools
73+
ENV ESP_ROM_ELF_DIR=/workspace/.idf_tools
74+
RUN git submodule update --init --depth=1 --recursive $IDF_PATH
75+
7176
COPY entrypoint.sh /entrypoint.sh
7277
ENTRYPOINT [ "/entrypoint.sh" ]

0 commit comments

Comments
 (0)