chore: add git safe directory to docker init script

This commit is contained in:
Nicolas Giard 2023-05-10 15:20:48 -04:00 committed by GitHub
parent f8113cb862
commit 871afb1b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,9 @@ sudo service rsyslog start &>/dev/null
# Turn off git info in zsh prompt (causes slowdowns)
git config oh-my-zsh.hide-info 1
# Add /workspace as a safe git directory
git config --global --add safe.directory /workspace
# Fix ownership of volumes
echo "Fixing volumes ownership..."
sudo chown -R dev:dev "$WORKSPACEDIR/.parcel-cache"