[docker] add safe directory which can allow git diff

This commit is contained in:
tangxifan 2022-05-23 12:16:52 +08:00
parent 7d694acf32
commit c53c058d1e
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ RUN adduser --disabled-password \
USER root
RUN chown -R ${NB_UID} ${HOME}
RUN chmod -R +r /opt/openfpga/
git config --global --add safe.directory *
USER ${NB_USER}
WORKDIR ${HOME}