|
1 | 1 | { |
2 | | - "id": "desktop-lite", |
3 | | - "version": "1.3.0", |
4 | | - "name": "Light-weight Desktop", |
5 | | - "documentationURL": "https://github.com/devcontainers/features/tree/main/src/desktop-lite", |
6 | | - "description": "Adds a lightweight Fluxbox based desktop to the container that can be accessed using a VNC viewer or the web. GUI-based commands executed from the built-in VS code terminal will open on the desktop automatically.", |
7 | | - "options": { |
8 | | - "version": { |
9 | | - "type": "string", |
10 | | - "proposals": [ |
11 | | - "latest" |
12 | | - ], |
13 | | - "default": "latest", |
14 | | - "description": "Currently Unused!" |
| 2 | + "id": "desktop-lite", |
| 3 | + "version": "1.3.0", |
| 4 | + "name": "Light-weight Desktop", |
| 5 | + "documentationURL": "https://github.com/devcontainers/features/tree/main/src/desktop-lite", |
| 6 | + "description": "Adds a lightweight Fluxbox based desktop to the container that can be accessed using a VNC viewer or the web. GUI-based commands executed from the built-in VS code terminal will open on the desktop automatically.", |
| 7 | + "options": { |
| 8 | + "version": { |
| 9 | + "type": "string", |
| 10 | + "proposals": [ |
| 11 | + "latest" |
| 12 | + ], |
| 13 | + "default": "latest", |
| 14 | + "description": "Currently Unused!" |
| 15 | + }, |
| 16 | + "noVncVersion": { |
| 17 | + "type": "string", |
| 18 | + "proposals": [ |
| 19 | + "1.6.0" |
| 20 | + ], |
| 21 | + "default": "1.6.0", |
| 22 | + "description": "The noVNC version to use" |
| 23 | + }, |
| 24 | + "password": { |
| 25 | + "type": "string", |
| 26 | + "proposals": [ |
| 27 | + "vscode", |
| 28 | + "codespaces", |
| 29 | + "password", |
| 30 | + "noPassword" |
| 31 | + ], |
| 32 | + "default": "vscode", |
| 33 | + "description": "Enter a password for desktop connections. If \"noPassword\", connections from the local host can be established without entering a password" |
| 34 | + }, |
| 35 | + "webPort": { |
| 36 | + "type": "string", |
| 37 | + "proposals": [ |
| 38 | + "6080" |
| 39 | + ], |
| 40 | + "default": "6080", |
| 41 | + "description": "Enter a port for the VNC web client (noVNC)" |
| 42 | + }, |
| 43 | + "vncPort": { |
| 44 | + "type": "string", |
| 45 | + "proposals": [ |
| 46 | + "5901" |
| 47 | + ], |
| 48 | + "default": "5901", |
| 49 | + "description": "Enter a port for the desktop VNC server (TigerVNC)" |
| 50 | + } |
15 | 51 | }, |
16 | | - "noVncVersion": { |
17 | | - "type": "string", |
18 | | - "proposals": [ |
19 | | - "1.6.0" |
20 | | - ], |
21 | | - "default": "1.6.0", |
22 | | - "description": "The noVNC version to use" |
| 52 | + "init": true, |
| 53 | + "entrypoint": "/usr/local/share/desktop-init.sh", |
| 54 | + "containerEnv": { |
| 55 | + "DISPLAY": ":1" |
23 | 56 | }, |
24 | | - "password": { |
25 | | - "type": "string", |
26 | | - "proposals": [ |
27 | | - "vscode", |
28 | | - "codespaces", |
29 | | - "password", |
30 | | - "noPassword" |
31 | | - ], |
32 | | - "default": "vscode", |
33 | | - "description": "Enter a password for desktop connections. If \"noPassword\", connections from the local host can be established without entering a password" |
| 57 | + "customizations": { |
| 58 | + "vscode": { |
| 59 | + "settings": { |
| 60 | + "github.copilot.chat.codeGeneration.instructions": [ |
| 61 | + { |
| 62 | + "text": "This dev container includes a lightweight Fluxbox based desktop that can be accessed using a VNC viewer or the web. GUI-based commands executed from the built-in VS Code terminal will open on the desktop automatically." |
| 63 | + } |
| 64 | + ] |
| 65 | + } |
| 66 | + } |
34 | 67 | }, |
35 | | - "webPort": { |
36 | | - "type": "string", |
37 | | - "proposals": [ |
38 | | - "6080" |
39 | | - ], |
40 | | - "default": "6080", |
41 | | - "description": "Enter a port for the VNC web client (noVNC)" |
42 | | - }, |
43 | | - "vncPort": { |
44 | | - "type": "string", |
45 | | - "proposals": [ |
46 | | - "5901" |
47 | | - ], |
48 | | - "default": "5901", |
49 | | - "description": "Enter a port for the desktop VNC server (TigerVNC)" |
50 | | - } |
51 | | - }, |
52 | | - "init": true, |
53 | | - "entrypoint": "/usr/local/share/desktop-init.sh", |
54 | | - "containerEnv": { |
55 | | - "DISPLAY": ":1" |
56 | | - }, |
57 | | - "customizations": { |
58 | | - "vscode": { |
59 | | - "settings": { |
60 | | - "github.copilot.chat.codeGeneration.instructions": [ |
61 | | - { |
62 | | - "text": "This dev container includes a lightweight Fluxbox based desktop that can be accessed using a VNC viewer or the web. GUI-based commands executed from the built-in VS Code terminal will open on the desktop automatically." |
63 | | - } |
64 | | - ] |
65 | | - } |
66 | | - } |
67 | | - }, |
68 | | - "installsAfter": [ |
69 | | - "ghcr.io/devcontainers/features/common-utils" |
70 | | - ] |
| 68 | + "installsAfter": [ |
| 69 | + "ghcr.io/devcontainers/features/common-utils" |
| 70 | + ] |
71 | 71 | } |
0 commit comments