|
3 | 3 | { |
4 | 4 | "name": "Ubuntu", |
5 | 5 | "build": { |
6 | | - "dockerfile": "Dockerfile", |
| 6 | + "dockerfile": "Dockerfile" |
7 | 7 | }, |
8 | | - // Set *default* container specific settings.json values on container create. |
9 | | - "settings": { |
10 | | - "lldb.executable": "/usr/bin/lldb", |
11 | | - "files.watcherExclude": { |
12 | | - "**/target/**": true |
13 | | - }, |
14 | | - "rust-analyzer.checkOnSave.command": "clippy", |
15 | | - "rust-analyzer.linkedProjects": [ |
16 | | - "/workspaces/onefuzz/src/agent/Cargo.toml", |
17 | | - "/workspaces/onefuzz/src/proxy-manager/Cargo.toml" |
18 | | - ], |
19 | | - "python.defaultInterpreterPath": "/workspaces/onefuzz/src/venv/bin/python", |
20 | | - "python.formatting.provider": "black", |
21 | | - "python.linting.flake8Enabled": true, |
22 | | - "python.linting.mypyEnabled": true, |
23 | | - "omnisharp.enableRoslynAnalyzers": true, |
24 | | - "omnisharp.enableEditorConfigSupport": true, |
25 | | - "editor.formatOnSave": true |
| 8 | + "customizations": { |
| 9 | + "vscode": { |
| 10 | + "settings": { |
| 11 | + "editor.formatOnSave": true, |
| 12 | + "files.watcherExclude": { |
| 13 | + "**/target/**": true |
| 14 | + }, |
| 15 | + "lldb.executable": "/usr/bin/lldb", |
| 16 | + "omnisharp.enableEditorConfigSupport": true, |
| 17 | + "omnisharp.enableRoslynAnalyzers": true, |
| 18 | + "python.defaultInterpreterPath": "/workspaces/onefuzz/src/venv/bin/python", |
| 19 | + "python.formatting.provider": "black", |
| 20 | + "python.linting.flake8Enabled": true, |
| 21 | + "python.linting.mypyEnabled": true, |
| 22 | + "rust-analyzer.checkOnSave.command": "clippy", |
| 23 | + "rust-analyzer.linkedProjects": [ |
| 24 | + "/workspaces/onefuzz/src/agent/Cargo.toml", |
| 25 | + "/workspaces/onefuzz/src/proxy-manager/Cargo.toml" |
| 26 | + ] |
| 27 | + }, |
| 28 | + "extensions": [ |
| 29 | + "formulahendry.dotnet-test-explorer", |
| 30 | + "ms-azuretools.vscode-azurefunctions", |
| 31 | + "ms-azuretools.vscode-bicep", |
| 32 | + "ms-dotnettools.csharp", |
| 33 | + "ms-python.python", |
| 34 | + "mutantdino.resourcemonitor", |
| 35 | + "redhat.vscode-yaml", |
| 36 | + "rust-lang.rust-analyzer", |
| 37 | + "serayuzgur.crates", |
| 38 | + "tamasfe.even-better-toml", |
| 39 | + "vadimcn.vscode-lldb" |
| 40 | + ] |
| 41 | + } |
26 | 42 | }, |
27 | | - // Add the IDs of extensions you want installed when the container is created. |
28 | | - "extensions": [ |
29 | | - "vadimcn.vscode-lldb", |
30 | | - "mutantdino.resourcemonitor", |
31 | | - "rust-lang.rust-analyzer", |
32 | | - "tamasfe.even-better-toml", |
33 | | - "serayuzgur.crates", |
34 | | - "ms-dotnettools.csharp", |
35 | | - "ms-python.python", |
36 | | - "ms-azuretools.vscode-bicep", |
37 | | - "formulahendry.dotnet-test-explorer", |
38 | | - "ms-azuretools.vscode-azurefunctions", |
39 | | - "redhat.vscode-yaml" |
40 | | - ], |
41 | | - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
42 | | - // "forwardPorts": [], |
43 | 43 | // Use 'postCreateCommand' to run commands after the container is created. |
44 | 44 | // Run as interactive bash shell to pick up .bashrc so that direnv is set up: |
45 | 45 | "postCreateCommand": "bash -i .devcontainer/post-create-script.sh", |
46 | | - // - ensure all nuget packages are present |
47 | | - // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
48 | 46 | "remoteUser": "vscode", |
49 | | - // Note: available features are listed in: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/container-features/src/devcontainer-features.json |
| 47 | + // Note: available features are found in: https://github.com/devcontainers/features/blob/main/README.md |
50 | 48 | "features": { |
51 | | - "azure-cli": "latest" |
| 49 | + "ghcr.io/devcontainers/features/azure-cli:1": {} |
52 | 50 | } |
53 | 51 | } |
0 commit comments