File tree Expand file tree Collapse file tree 4 files changed +24
-6
lines changed Expand file tree Collapse file tree 4 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 1- FROM ghcr.io/nanoframework/dev-container-all:v2.23
1+ FROM ghcr.io/nanoframework/dev-container-all:v2.24
Original file line number Diff line number Diff line change 1- FROM ghcr.io/nanoframework/dev-container-esp32:v2.18
1+ FROM ghcr.io/nanoframework/dev-container-esp32:v2.19
Original file line number Diff line number Diff line change @@ -112,9 +112,19 @@ RUN ln -fs /usr/bin/python3 /usr/bin/python \
112112
113113# Install ESP-IDF
114114ENV IDF_PATH=/sources/esp-idf
115+ ENV ESP_PATCH_VER=esp-2021r2-patch5-8.4.0
115116RUN python -m pip install -r $IDF_PATH/requirements.txt
116117RUN $IDF_PATH/install.sh
117- ENV PATH=$PATH:$IDF_PATH/components/esptool_py/esptool:$IDF_PATH/components/espcoredump:$IDF_PATH/components/partition_table/:$IDF_PATH/tools/:$IDF_PATH/components/app_update:/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin:/root/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s2-elf/bin:/root/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin
118+
119+ ENV PATH=$PATH:\
120+ $IDF_PATH/components/esptool_py/esptool:\
121+ $IDF_PATH/components/espcoredump:\
122+ $IDF_PATH/components/partition_table/:\
123+ $IDF_PATH/tools/:\
124+ $IDF_PATH/components/app_update:\
125+ /root/.espressif/tools/xtensa-esp32-elf/$ESP_PATCH_VER/xtensa-esp32-elf/bin:\
126+ /root/.espressif/tools/xtensa-esp32s2-elf/$ESP_PATCH_VER/xtensa-esp32s2-elf/bin:\
127+ /root/.espressif/tools/riscv32-esp-elf/$ESP_PATCH_VER/riscv32-esp-elf/bin
118128
119129# Clean up downloaded files
120130RUN apt-get autoremove -y \
Original file line number Diff line number Diff line change @@ -49,19 +49,27 @@ RUN git clone --branch mbedtls-2.28.1 https://github.com/ARMmbed/mbedtls.git --d
4949RUN git clone --branch v4.4.3 https://github.com/espressif/esp-idf --depth 1 --recursive ./sources/esp-idf
5050
5151# Copy from our other container
52- COPY --from=downloader /tmp/dc-extracted/gcc /usr/local/bin/gcc
5352COPY --from=downloader /tmp/dc-extracted/cmake /usr
54- # COPY ./scripts/git-pull-repos.sh /usr/local/git-pull-repos.sh
5553
5654# Creating static link python for pyhton3
5755RUN ln -fs /usr/bin/python3 /usr/bin/python \
5856 && pip3 install pyserial
5957
6058# Install ESP-IDF
6159ENV IDF_PATH=/sources/esp-idf
60+ ENV ESP_PATCH_VER=esp-2021r2-patch5-8.4.0
6261RUN python -m pip install -r $IDF_PATH/requirements.txt
6362RUN $IDF_PATH/install.sh
64- ENV PATH=$PATH:$IDF_PATH/components/esptool_py/esptool:$IDF_PATH/components/espcoredump:$IDF_PATH/components/partition_table/:$IDF_PATH/tools/:$IDF_PATH/components/app_update:/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin:/root/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s2-elf/bin:/root/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin
63+
64+ ENV PATH=$PATH:\
65+ $IDF_PATH/components/esptool_py/esptool:\
66+ $IDF_PATH/components/espcoredump:\
67+ $IDF_PATH/components/partition_table/:\
68+ $IDF_PATH/tools/:\
69+ $IDF_PATH/components/app_update:\
70+ /root/.espressif/tools/xtensa-esp32-elf/$ESP_PATCH_VER/xtensa-esp32-elf/bin:\
71+ /root/.espressif/tools/xtensa-esp32s2-elf/$ESP_PATCH_VER/xtensa-esp32s2-elf/bin:\
72+ /root/.espressif/tools/riscv32-esp-elf/$ESP_PATCH_VER/riscv32-esp-elf/bin
6573
6674# Clean up downloaded files
6775RUN apt-get autoremove -y \
You can’t perform that action at this time.
0 commit comments