Skip to content

Commit

Permalink
Fix git dubious ownership error
Browse files Browse the repository at this point in the history
safe.directory option must be configured in global scope for security
reasons
  • Loading branch information
WoWaster authored and iakov committed Aug 30, 2023
1 parent 7104e11 commit b58f84d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/azure/install_Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ set -euxo pipefail

docker pull trikset/linux-builder
docker run -d --privileged -v $BUILD_SOURCESDIRECTORY:$BUILD_SOURCESDIRECTORY:rw -w `pwd` --name builder trikset/linux-builder Xvfb :0
docker exec builder bash -c 'export PATH=/usr/bin:/bin:/usr/sbin:/sbin ; python -V ; python3 -V ; rm -f ~/.bashrc'
docker exec builder bash -c 'export PATH=/usr/bin:/bin:/usr/sbin:/sbin ; python -V ; python3 -V ; rm -f ~/.bashrc ; git config --global --add safe.directory "*"'

mkdir -p "$BUILDDIR"
mkdir -p "$BUILDDIR"

0 comments on commit b58f84d

Please sign in to comment.