|
9 | 9 | "--init",
|
10 | 10 | "--privileged"
|
11 | 11 | ],
|
12 |
| - // Set *default* container specific settings.json values on container create. |
13 |
| - "settings": { |
14 |
| - "python.pythonPath": "/usr/bin/python3", |
15 |
| - "python.defaultInterpreterPath": "/usr/bin/python3", |
16 |
| - "python.disableInstallationCheck": true, |
17 |
| - "python.linting.enabled": true, |
18 |
| - "python.formatting.provider": "black", |
19 |
| - "python.linting.banditEnabled": true, |
20 |
| - "python.linting.flake8Enabled": true, |
21 |
| - "terminal.integrated.defaultProfile.linux": "zsh", |
22 |
| - "terminal.integrated.profiles.linux": { |
23 |
| - "zsh": { |
24 |
| - "path": "/usr/bin/zsh" |
25 |
| - } |
| 12 | + "customizations": { |
| 13 | + "vscode": { |
| 14 | + // Set *default* container specific settings.json values on container create. |
| 15 | + "settings": { |
| 16 | + "python.pythonPath": "/usr/bin/python3", |
| 17 | + "python.defaultInterpreterPath": "/usr/bin/python3", |
| 18 | + "python.disableInstallationCheck": true, |
| 19 | + "python.linting.enabled": true, |
| 20 | + "python.formatting.provider": "black", |
| 21 | + "python.linting.banditEnabled": true, |
| 22 | + "python.linting.flake8Enabled": true, |
| 23 | + "terminal.integrated.defaultProfile.linux": "zsh", |
| 24 | + "terminal.integrated.profiles.linux": { |
| 25 | + "zsh": { |
| 26 | + "path": "/usr/bin/zsh" |
| 27 | + } |
| 28 | + } |
| 29 | + }, |
| 30 | + // Add the IDs of extensions you want installed when the container is created. |
| 31 | + "extensions": [ |
| 32 | + "ms-python.python", |
| 33 | + "dbaeumer.vscode-eslint", |
| 34 | + "ms-azuretools.vscode-dapr", |
| 35 | + "ms-azuretools.vscode-docker", |
| 36 | + "rpdswtk.vsmqtt", |
| 37 | + "dotjoshjohnson.xml", |
| 38 | + "ms-kubernetes-tools.vscode-kubernetes-tools", |
| 39 | + "matangover.mypy", |
| 40 | + "anweber.vscode-httpyac", |
| 41 | + "ms-python.isort", |
| 42 | + "ms-python.flake8" |
| 43 | + ] |
26 | 44 | }
|
27 | 45 | },
|
28 |
| - // workaround for the devcontainer features |
29 |
| - "overrideCommand": false, |
30 |
| - "mounts": [ |
31 |
| - "source=dind-var-lib-docker,target=/var/lib/docker,type=volume" |
32 |
| - ], |
33 |
| - // Add the IDs of extensions you want installed when the container is created. |
34 |
| - "extensions": [ |
35 |
| - "ms-python.python", |
36 |
| - "dbaeumer.vscode-eslint", |
37 |
| - "ms-azuretools.vscode-dapr", |
38 |
| - "ms-azuretools.vscode-docker", |
39 |
| - "rpdswtk.vsmqtt", |
40 |
| - "dotjoshjohnson.xml", |
41 |
| - "ms-kubernetes-tools.vscode-kubernetes-tools", |
42 |
| - "matangover.mypy", |
43 |
| - "anweber.vscode-httpyac", |
44 |
| - "ms-python.isort" |
45 |
| - ], |
46 | 46 | // Use 'forwardPorts' to make a list of ports inside the container available locally.
|
47 | 47 | // "forwardPorts": [],
|
48 | 48 | "onCreateCommand": "bash .devcontainer/scripts/postCreateCommand.sh",
|
|
0 commit comments