about summary refs log tree commit diff
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorRobert R George <rgeorge@midnightweb.net>2023-03-29 04:27:19 -0700
committerGitHub <noreply@github.com>2023-03-29 13:27:19 +0200
commitcb9cc09a6dc1acb3c8b1b353d395b0aa73491c83 (patch)
tree1a0370347703b2e36de25a26784564df9b3e290d /.devcontainer/devcontainer.json
parentc855e1ecbcc5dd918492cc688a88e74eb52e9b91 (diff)
Fixes launching of the devcontainer and adds support for Docker Desktop (#24303)
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index d628fd1bd..17208a84e 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -15,6 +15,7 @@
   "forwardPorts": [3000, 4000],
 
   // Use 'postCreateCommand' to run commands after the container is created.
+  "onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
   "postCreateCommand": ".devcontainer/post-create.sh",
   "waitFor": "postCreateCommand",