Repository navigation
Expand file tree
/
Copy pathdevcontainer.json
More file actions
43 lines (42 loc) · 1.61 KB
/
Copy pathdevcontainer.json
File metadata and controls
43 lines (42 loc) · 1.61 KB
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
/* eslint-disable jsonc/comma-dangle */
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Arch-NamesMT",
"image": "namesmt/linux-stuff:arch-node-dev",
// "build": {
// "dockerfile": "Dockerfile"
// },
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {
"version": "latest"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "sh .devcontainer/postCreate.sh",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"streetsidesoftware.code-spell-checker",
"usernamehw.errorlens",
"yoavbls.pretty-ts-errors",
]
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root",
"runArgs": [
// mount host pnpm store (XDG data dir) for shared caching/linking
// "--volume=${localEnv:HOME}/.local/share/pnpm/store:/root/.local/share/pnpm/store",
// // Enable both in this block if you want to mount home dir
// mount user home directory for things like git, ssh, and other configs
// "--volume=${env:HOME}:${env:HOME}",
// isolate the .vscode-server folder so you don't overwrite settings from remote ssh vscode
// "--volume=${localWorkspaceFolder}/.cache/vscode-server:${env:HOME}/.vscode-server",
// //
],
}