Khi bạn build docker image thì bị báo lỗi bên dưới.
fatal: unsafe repository ('/repo' is owned by someone else) 10:20:47 To add an exception for this directory, call: 10:20:47 10:20:47 git config --global --add safe.directory /repo 10:20:47 BUILD ... 10:20:47 BUILD: 0000000 10:20:47 error obtaining VCS status: exit status 128 10:20:47 Use -buildvcs=false to disable VCS stamping. 10:20:47 BUILD DONE!
như trong log đã hướng dẫn thì chúng ta cần thêm RUN git config --global --add safe.directory /repo