aboutsummaryrefslogtreecommitdiff
path: root/src/desktop-lite/devcontainer-feature.json
blob: 9420dc3dd837630e8b7444e89c4d96e7391cee9a (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
    "id": "desktop-lite",
    "version": "1.0.5",
    "name": "Light-weight Desktop",
    "documentationURL": "https://github.com/devcontainers/features/tree/main/src/desktop-lite",
    "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.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest"
            ],
            "default": "latest",
            "description": "Currently Unused!"
        },
        "noVncVersion": {
            "type": "string",
            "proposals": [
                "1.2.0"
            ],
            "default": "1.2.0",
            "description": "NoVnc Version"
        },
        "password": {
            "type": "string",
            "proposals": [
                "vscode",
                "codespaces",
                "password"
            ],
            "default": "vscode",
            "description": "Enter a password for desktop connections"
        },
        "webPort": {
            "type": "string",
            "proposals": [
                "6080"
            ],
            "default": "6080",
            "description": "Enter a port for the VNC web client"
        },
        "vncPort": {
            "type": "string",
            "proposals": [
                "5901"
            ],
            "default": "5901",
            "description": "Enter a port for the desktop VNC server"
        }
    },
    "init": true,
    "entrypoint": "/usr/local/share/desktop-init.sh",
    "containerEnv": {
        "DISPLAY": ":1"
    },
    "installsAfter": [
        "ghcr.io/devcontainers/features/common-utils"
    ]
}