mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
[docker] Avoid unsafe git error when container user and file config volume permissions don't match (#6873)
This commit is contained in:
parent
ccab57fc58
commit
276eea2b69
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ RUN --mount=type=tmpfs,target=/root/.cargo if [ "$TARGETARCH$TARGETVARIANT" = "a
|
|||
&& /platformio_install_deps.py /platformio.ini --libraries
|
||||
|
||||
# Avoid unsafe git error when container user and file config volume permissions don't match
|
||||
RUN git config --system --add safe.directory '/config/*'
|
||||
RUN git config --system --add safe.directory '*'
|
||||
|
||||
|
||||
# ======================= docker-type image =======================
|
||||
|
|
Loading…
Reference in a new issue