-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
49 lines (47 loc) · 1.76 KB
/
.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "scs/status-page-web",
// Create a container form the following Containerfile
"build": {
"dockerfile": "Devcontainerfile"
},
//"image": "localhost/vsc-status-page-web-a984e6b0e5dc9e3426b321c420443cb3e6d83079e4ae9c654cd641b94f371434",
"features": {
// Prepare the user inside the container
"ghcr.io/devcontainers/features/common-utils:2": {
"username": "codeuser",
"userUid": "1000",
"userGid": "1000",
"installZsh": false,
"installOhMyZsh": false
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker",
"angular.ng-template",
"golang.go",
"imgildev.vscode-mustache-snippets",
"waderyan.gitblame",
"mhutchie.git-graph",
"donjayamanne.githistory",
"vivaxy.vscode-conventional-commits",
"alefragnani.numbered-bookmarks",
"adamhartford.vscode-base64"
]
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "codeuser",
//"workspaceMount": "",
"containerUser": "codeuser",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,Z",
"runArgs": [
"--userns=keep-id"
]
}