Skip to content

Commit

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

See merge request espressif/esp-idf!26804
  • Loading branch information
dobairoland committed Nov 16, 2023
2 parents 53aaf34 + 6f25695 commit 36cb0b2
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 36cb0b2

Please sign in to comment.