docs(contributing): enable contribution via devcontainer (#3970)

This commit is contained in:
Geoffrey Huntley
2022-09-14 10:30:12 -07:00
committed by GitHub
parent b20ecfdf37
commit a01ab27751
2 changed files with 101 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
// For format details, see https://aka.ms/devcontainer.json
{
"name": "Development environments on your infrastructure",
// Sets the run context to one level up instead of the .devcontainer folder.
"context": ".",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "Dockerfile",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
"postStartCommand": "dockerd",
// privileged is required by GitHub codespaces - https://github.com/microsoft/vscode-dev-containers/issues/727
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined", "--privileged", "--init" ]
}