summaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
blob: aa74ed32726bf8e44e1b1d8b97d19df0a46391f8 (plain)
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
{
    "name": "Ubuntu",
    "image": "mcr.microsoft.com/devcontainers/base:jammy",

    // Features to add to the dev container. More info: https://containers.dev/implementors/features.
    "features": {
        "ghcr.io/devcontainers/features/github-cli:1": {},
        "ghcr.io/devcontainers-contrib/features/pre-commit:1": {},
        "./serenity": {
            "llvm_version": 15,
            "enable_ladybird": true,
            "enable_serenity": true
        },
        "ghcr.io/devcontainers/features/desktop-lite": {
            "password": "vscode",
            "webPort": "6080",
            "vncPort": "5901"
        }
    },

    // Use 'forwardPorts' to make a list of ports inside the container available locally.
    "forwardPorts": [6080, 5901],
    "portsAttributes": {
        "5901": {
            "label": "VNC"
        },
        "6080": {
            "label": "Web VNC"
        }
    },

    // Use 'postCreateCommand' to run commands after the container is created.
    "postCreateCommand": "pre-commit install; pre-commit install --hook-type commit-msg"

    // Configure tool-specific properties.
    // "customizations": {},

    // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
    // "remoteUser": "root",
}