Skip to content

Commit 0747a52

Browse files
authored
Update setup-lab.sh
Added the following: ``` git config --global --add safe.directory /app ``` To make git stop complain about unsafe folders
1 parent f9488cd commit 0747a52

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.devcontainer/scripts/setup-lab.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
echo "Setting up Docker lab environment..."
33
docker pull quay.io/rofrano/python:3.11-slim
44
# docker run -d --name postgresql --restart always -p 5432:5432 -v postgres:/var/lib/postgresql/data postgres:alpine
5+
56
echo Setting up registry.local...
67
sudo bash -c "echo '127.0.0.1 cluster-registry' >> /etc/hosts"
7-
echo "Setup complete"
8+
9+
echo "Making git stop complaining about unsafe folders"
10+
git config --global --add safe.directory /app
11+
12+
echo "Setup complete"

0 commit comments

Comments
 (0)