mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
Merge branch 'bugfix/docker_safe_repo_v5.2' into 'release/v5.2'
fix(docker): set esp-idf repo as safe directory (v5.2) See merge request espressif/esp-idf!26803
This commit is contained in:
commit
bcf2ef7ddd
@ -68,6 +68,7 @@ RUN echo IDF_CHECKOUT_REF=$IDF_CHECKOUT_REF IDF_CLONE_BRANCH_OR_TAG=$IDF_CLONE_B
|
||||
${IDF_CLONE_SHALLOW:+--depth=1 --shallow-submodules} \
|
||||
${IDF_CLONE_BRANCH_OR_TAG:+-b $IDF_CLONE_BRANCH_OR_TAG} \
|
||||
$IDF_CLONE_URL $IDF_PATH && \
|
||||
git config --system --add safe.directory $IDF_PATH && \
|
||||
if [ -n "$IDF_CHECKOUT_REF" ]; then \
|
||||
cd $IDF_PATH && \
|
||||
if [ -n "$IDF_CLONE_SHALLOW" ]; then \
|
||||
|
Loading…
x
Reference in New Issue
Block a user