template/.devcontainer/devcontainer.json

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
{
    "name": "PowerShell",
    "dockerFile": "Dockerfile",
    // "image": "mcr.microsoft.com/powershell",
 
    // Set *default* container specific settings.json values on container create.
    "settings": {
        "terminal.integrated.shell.linux": "/usr/bin/pwsh"
    },
 
    // Add the IDs of extensions you want installed when the container is created.
    "extensions": [
        "ms-vscode.powershell",
        "davidanson.vscode-markdownlint"
    ],
 
    // Use 'forwardPorts' to make a list of ports inside the container available locally.
    // "forwardPorts": [],
 
    // Bootstrap build modules
    "postCreateCommand": "pwsh -c './build.ps1 -Task Init -Bootstrap'",
 
    // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
    // "remoteUser": "vscode"
}