-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Copy pathdevcontainer.json-single.bk
53 lines (51 loc) · 1.69 KB
/
devcontainer.json-single.bk
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
50
51
52
53
{
"name": "LLMWARE Dev",
//"build": { "dockerfile": "../Dockerfile" },
"containerUser": "llmware",
"updateRemoteUserUID": true,
"image": "provocoai/llmware:dev-01",
"remoteUser": "llmware",
"runArgs": [
"--userns=keep-id:uid=1000,gid=1000"
],
// "runArgs": [
// "--name",
// "${localWorkspaceFolderBasename}", // Container name
// "-it",
// "-l",
// "com.docker.compose.project=devcontainers" // Container group name
// ],
// you can setup your local directory in the devcontainer here. The mount line is an example and mounts your home directory into the /code directory
"mounts" : [
"source=/home/harrison/code/provoco,target=/code,type=bind,consistency=cached,Z",
"source=/home/harrison/.vscode,target=/root/.vscode,type=bind,consistency=cached,Z"
],
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
//"mongodb.mongodb-vscode",
"ms-python.python"
//"ms-azuretools.vscode-docker"
]
}
},
"postCreateCommand": "apt-get install ",
"features": {}
// "features": {
// "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
// "dockerDashComposeVersion": "v2"
// },
// "ghcr.io/devcontainers/features/github-cli:1": {}
// },
// "customizations": {
// "vscode": {
// "extensions": [
// "esbenp.prettier-vscode", // prettify the code extension
// "ms-python.python", //python code extensions
// "ms-python.vscode-pylance" // vscode python extension
// ]
// }
// }
}