Skip to content

Commit

Permalink
Merge branch 'bugfix/docker_safe_repo_v5.2' into 'release/v5.2'
Browse files Browse the repository at this point in the history
fix(docker): set esp-idf repo as safe directory (v5.2)

See merge request espressif/esp-idf!26803
  • Loading branch information
dobairoland committed Nov 3, 2023
2 parents 3d37631 + 113c22c commit bcf2ef7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit bcf2ef7

Please sign in to comment.