mark repositories trusted for cloning, pulling, or checking out code.
+ 3
- 0
@@ -106,6 +106,9 @@ RUN rm -rf /app/.git
 RUN echo "/usr/bin/git-shell" >> /etc/shells
 # RUN chsh -s /usr/bin/git-shell
 
+# Allow cloning, pulling, or checking out code of all the repositories
+RUN git config --system --add safe.directory '*'
+
 # Create git user
 RUN adduser git
 # RUN usermod -u 1000 git