Skip to content

Commit

Permalink
Update setup-lab.sh
Browse files Browse the repository at this point in the history
Added the following:

```
git config --global --add safe.directory /app
```

To make git stop complain about unsafe folders
  • Loading branch information
rofrano authored Apr 11, 2024
1 parent f9488cd commit 0747a52
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .devcontainer/scripts/setup-lab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
echo "Setting up Docker lab environment..."
docker pull quay.io/rofrano/python:3.11-slim
# docker run -d --name postgresql --restart always -p 5432:5432 -v postgres:/var/lib/postgresql/data postgres:alpine

echo Setting up registry.local...
sudo bash -c "echo '127.0.0.1 cluster-registry' >> /etc/hosts"
echo "Setup complete"

echo "Making git stop complaining about unsafe folders"
git config --global --add safe.directory /app

echo "Setup complete"

0 comments on commit 0747a52

Please sign in to comment.