Skip to content

Commit

Permalink
Update setup-lab.sh
Browse files Browse the repository at this point in the history
Make git stop complaining about unsafe folders...
  • Loading branch information
rofrano authored Apr 12, 2024
1 parent f6a858f commit 5e50148
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .devcontainer/scripts/setup-lab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
echo "Setting up Kubernetes lab environment..."
docker pull python:3.11-slim
docker run -d --name redis --restart always -p 6379:6379 -v redis:/data redis:6-alpine

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

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

echo "Setup complete"

0 comments on commit 5e50148

Please sign in to comment.