Skip to content

Commit 5e50148

Browse files
authored
Update setup-lab.sh
Make git stop complaining about unsafe folders...
1 parent f6a858f commit 5e50148

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.devcontainer/scripts/setup-lab.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
echo "Setting up Kubernetes lab environment..."
33
docker pull python:3.11-slim
44
docker run -d --name redis --restart always -p 6379:6379 -v redis:/data redis:6-alpine
5+
56
echo Setting up registry.local...
67
sudo bash -c "echo '127.0.0.1 cluster-registry' >> /etc/hosts"
8+
9+
echo "Make git stop complaining about unsafe folders..."
10+
git config --global --add safe.directory /app
11+
712
echo "Setup complete"

0 commit comments

Comments
 (0)