forked from nils-geistmann/devcontainers-features
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer-feature.json
More file actions
34 lines (34 loc) · 1.12 KB
/
devcontainer-feature.json
File metadata and controls
34 lines (34 loc) · 1.12 KB
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
{
"name": "Create Remote User",
"id": "create-remote-user",
"version": "0.0.5",
"description": "A feature to assert the configured remote user exists in the container and optionally add them to additional groups",
"licenseURL": "https://github.com/nils-geistmann/devcontainers-features/blob/main/LICENSE",
"options": {
"create": {
"description": "Create the user if it doesn't exist",
"type": "boolean",
"default": true
},
"addToSudo": {
"description": "If the user is newly created, add it to group sudo (if it exists)",
"type": "boolean",
"default": true
},
"installSudo": {
"description": "Install sudo if it is not yet installed",
"type": "boolean",
"default": true
},
"passwordLessSudo": {
"description": "Configures sudo to allow the remote user to elevate permissions without password",
"type": "boolean",
"default": false
},
"additionalGroups": {
"description": "Comma-separated list of additional groups to add the user to (e.g., 'audio,video,docker')",
"type": "string",
"default": ""
}
}
}