Skip to content

Commit 65efe75

Browse files
Add vscode remote containers
1 parent a0fb9b2 commit 65efe75

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.devcontainer/devcontainer.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/docker-existing-dockerfile
3+
{
4+
"name": "Existing Dockerfile",
5+
"runArgs": ["--init"],
6+
7+
// Sets the run context to one level up instead of the .devcontainer folder.
8+
"context": "..",
9+
10+
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
11+
"dockerFile": "../Dockerfile",
12+
13+
// Set *default* container specific settings.json values on container create.
14+
"settings": {},
15+
16+
// Add the IDs of extensions you want installed when the container is created.
17+
"extensions": []
18+
19+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
20+
// "forwardPorts": [],
21+
22+
// Uncomment the next line to run commands after the container is created - for example installing curl.
23+
// "postCreateCommand": "apt-get update && apt-get install -y curl",
24+
25+
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
26+
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
27+
28+
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
29+
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
30+
31+
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
32+
// "remoteUser": "vscode"
33+
}

0 commit comments

Comments
 (0)