forked from Netopya/frc-devcontainer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-devcontainer.json
More file actions
34 lines (28 loc) · 995 Bytes
/
example-devcontainer.json
File metadata and controls
34 lines (28 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// .devcontainer/devcontainer.json
{
// Name of the environment
"name":"General FRC Development",
// Set the Docker image to use
// I will explain this below
"build": {
"dockerfile": "Dockerfile",
},
// Set any default VSCode settings here
"settings": {
"terminal.integrated.shell.linux":"/bin/bash"
},
// Tell VSCode where to find the workspace directory
"workspaceMount": "source=${localWorkspaceFolder},target=/root/workspace,type=bind,consistency=cached",
"workspaceFolder": "/root/workspace",
// Allow the host and container docker daemons to communicate
"mounts": [ "source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind" ],
// Any extensions you want can go here
"extensions": [
// Needed extensions for using WPILib
"redhat.java",
"ms-vscode.cpptools",
"vscjava.vscode-java-pack",
// The WPILib extension itself
"wpilibsuite.vscode-wpilib"
]
}