Update 'Dockerfile'

This commit is contained in:
techknowlogick 2023-03-14 16:29:24 +08:00
parent 09b99f8979
commit fc425cbf02
1 changed files with 3 additions and 5 deletions

View File

@ -36,8 +36,6 @@ RUN curl -SL https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \
&& golangci-lint --version
USER gitea
RUN git config --global --add safe.directory /drone/src && \
git config --global --add safe.directory '*'
USER root
RUN git config --global --add safe.directory '*'
USER root
RUN git config --global --add safe.directory '*'