Skip to content

Commit 7ab457a

Browse files
committed
chore: update esp32 Docker build process
Remove redundant cleanup of dist directory and add cache mount for tools installation. This improves build efficiency and reduces unnecessary file deletions. Signed-off-by: Chiho Sin <[email protected]>
1 parent 4776b26 commit 7ab457a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Containerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ RUN cd ${IDF_PATH} \
117117
RUN --mount=type=cache,target=/root/.cache/pip \
118118
--mount=type=cache,target=/opt/esp-idf-tools/dist \
119119
"${IDF_PATH}"/install.sh > /dev/null 2>&1 \
120-
&& rm -rf $IDF_TOOLS_PATH/dist \
121120
&& bash -c "source ${IDF_PATH}/export.sh && pip3 install --upgrade minify-html jsmin sh requests-cache"
122121

123122
RUN bash -c "source ${IDF_PATH}/export.sh && make -C ports/esp32 submodules && git repack -d"

0 commit comments

Comments
 (0)