devcontainer.json 1.24 KB
Newer Older
Jon Azpiazu's avatar
Jon Azpiazu committed
1
2
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
{
3
	"name": "flexbotics base kinetic",
Jon Azpiazu's avatar
Jon Azpiazu committed
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
35
36
	"context": "..",
	"dockerFile": "Dockerfile",

	// Use 'settings' to set *default* container specific settings.json values on container create.
	// You can edit these settings after create using File > Preferences > Settings > Remote.
	"settings": {
		"terminal.integrated.shell.linux": "/bin/bash"
	},

	// Uncomment the next line if you want to publish any ports.
	// "appPort": [],

	// Uncomment the next line to run commands after the container is created.
	"postCreateCommand": "bash /tmp/catkin_ws_init.sh",

	"workspaceFolder": "/home/vscode/robot_ws/src/",

	// Uncomment the next line to use a non-root user. On Linux, this will prevent
	// new files getting created as root, but you may need to update the USER_UID
	// and USER_GID in .devcontainer/Dockerfile to match your user if not 1000.
	"runArgs": [ "-u", "vscode",
		"-v", "${env:SSH_AUTH_SOCK}:/ssh-agent",
		"-e", "SSH_AUTH_SOCK=/ssh-agent",
		"-e", "DISPLAY=${env:DISPLAY}",
		"-v", "/tmp/.X11-unix:/tmp/.X11-unix"
	],

	// Add the IDs of extensions you want installed when the container is created in the array below.
	"extensions": [
		"ms-python.python",
		"ms-iot.vscode-ros"
	]
}