|
2 | 2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/javascript-node |
3 | 3 | // - |
4 | 4 | { |
5 | | - "name": "docs.github.com", |
6 | | - "build": { |
7 | | - "dockerfile": "Dockerfile", |
| 5 | +// "name": "docs.github.com", |
| 6 | +// "build": { |
| 7 | + // "dockerfile": "Dockerfile", |
8 | 8 | // Update 'VARIANT' to pick a Node version |
9 | | - "args": { "VARIANT": "24" } |
| 9 | + // "args": { "VARIANT": "24" } |
10 | 10 | }, |
11 | 11 |
|
12 | 12 | // Install features. Type 'feature' in the VS Code command palette for a full list. |
13 | | - "features": { |
14 | | - "sshd": "latest", |
15 | | - "ghcr.io/devcontainers/features/github-cli:1": {} |
| 13 | + // "features": { |
| 14 | +// "sshd": "latest", |
| 15 | +// "ghcr.io/devcontainers/features/github-cli:1": {} |
16 | 16 | }, |
17 | 17 |
|
18 | | - "customizations": { |
19 | | - "vscode": { |
| 18 | + "//customizations": { |
| 19 | + // "vscode": { |
20 | 20 | // Set *default* container specific settings.json values on container create. |
21 | | - "settings": { |
22 | | - "terminal.integrated.shell.linux": "/bin/bash", |
23 | | - "cSpell.language": ",en", |
24 | | - "git.autofetch": true |
| 21 | + // "settings": { |
| 22 | + // "terminal.integrated.shell.linux": "/bin/bash", |
| 23 | + // "cSpell.language": ",en", |
| 24 | + // "git.autofetch": true |
25 | 25 | }, |
26 | 26 | // Visual Studio Code extensions which help authoring for docs.github.com. |
27 | | - "extensions": [ |
28 | | - "dbaeumer.vscode-eslint", |
29 | | - "sissel.shopify-liquid", |
30 | | - "davidanson.vscode-markdownlint", |
31 | | - "bierner.markdown-preview-github-styles", |
32 | | - "streetsidesoftware.code-spell-checker", |
33 | | - "alistairchristie.open-reusables", |
34 | | - "AlistairChristie.version-identifier", |
35 | | - "peterbe.ghdocs-goer", |
36 | | - "GitHub.copilot", |
37 | | - "GitHub.copilot-chat" |
| 27 | + // "extensions": [ |
| 28 | + // "dbaeumer.vscode-eslint", |
| 29 | + // "sissel.shopify-liquid", |
| 30 | + // "davidanson.vscode-markdownlint", |
| 31 | + // "bierner.markdown-preview-github-styles", |
| 32 | + // "streetsidesoftware.code-spell-checker", |
| 33 | + // "alistairchristie.open-reusables", |
| 34 | + // "AlistairChristie.version-identifier", |
| 35 | + // "peterbe.ghdocs-goer", |
| 36 | + // "GitHub.copilot", |
| 37 | + // "GitHub.copilot-chat" |
38 | 38 | ] |
39 | 39 | }, |
40 | | - "codespaces": { |
41 | | - "repositories": { |
| 40 | +// "codespaces": { |
| 41 | + // "repositories": { |
42 | 42 | // allow Codespaces to pull from separate repo when user has access |
43 | | - "github/docs-early-access": { |
44 | | - "permissions": { |
45 | | - "contents": "write" |
| 43 | + // "github/docs-early-access": { |
| 44 | + // "permissions": { |
| 45 | + // "contents": "write" |
46 | 46 | } |
47 | 47 | } |
48 | 48 | } |
49 | 49 | } |
50 | 50 | }, |
51 | 51 |
|
52 | 52 | // Use 'forwardPorts' to make a list of ports inside the container available locally. |
53 | | - "forwardPorts": [4000], |
| 53 | +// "forwardPorts": [4000], |
54 | 54 |
|
55 | | - "portsAttributes": { |
56 | | - "4000": { |
57 | | - "label": "Review" |
| 55 | + // "portsAttributes": { |
| 56 | + // "4000": { |
| 57 | + // "label": "Review" |
58 | 58 | } |
59 | 59 | }, |
60 | 60 |
|
61 | 61 | // Lifecycle commands |
62 | 62 | // Install dependencies then install Copilot CLI |
63 | | - "onCreateCommand": "npm ci && npm install -g @github/copilot@prerelease", |
| 63 | +// "onCreateCommand": "npm ci && npm install -g @github/copilot@prerelease", |
64 | 64 | // Start a web server and keep it running |
65 | | - "postStartCommand": "nohup bash -c 'npm start &'", |
| 65 | + // "postStartCommand": "nohup bash -c 'npm start &'", |
66 | 66 | // Set port 4000 to be public |
67 | | - "postAttachCommand": "gh cs ports visibility 4000:public -c \"$CODESPACE_NAME\"", |
| 67 | +// "postAttachCommand": "gh cs ports visibility 4000:public -c \"$CODESPACE_NAME\"", |
68 | 68 |
|
69 | 69 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
70 | | - "remoteUser": "node", |
| 70 | +// "remoteUser": "node", |
71 | 71 |
|
72 | | - "hostRequirements": { |
73 | | - "memory": "16gb", |
74 | | - "cpus": "4" |
| 72 | +// "hostRequirements": { |
| 73 | + // "memory": "16gb", |
| 74 | + // "cpus": "4" |
75 | 75 | } |
76 | 76 | } |
0 commit comments