-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdevcontainer.json
More file actions
58 lines (58 loc) · 1.28 KB
/
devcontainer.json
File metadata and controls
58 lines (58 loc) · 1.28 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "Azure IoT Operations CLI devcontainer",
"build": {
"dockerfile": "Dockerfile"
},
"hostRequirements": {
"cpus": 4,
"memory": "8gb",
"storage": "32gb"
},
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installUsingPython": true,
"version": "latest",
"extensions": [
"azure-devops",
"connectedk8s",
"connectedmachine",
"k8s-extension"
]
},
// k3d for cluster creation
"ghcr.io/rio/features/k3d:1": {}
},
"secrets": {
"SUBSCRIPTION_ID": {
"description": "Your Azure subscription ID"
},
"RESOURCE_GROUP": {
"description": "Your Azure resource group"
}
},
"customizations": {
"vscode": {
"extensions": [
// python language support
"ms-python.python",
// python linting
"ms-python.black-formatter",
// import ordering
"ms-python.isort",
// github actions support
"github.vscode-github-actions",
// yaml
"redhat.vscode-yaml"
],
"settings": {
"python.terminal.activateEnvironment": true,
"python.terminal.activateEnvInCurrentTerminal": true,
"python.defaultInterpreterPath": "./env/bin/python",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
}
}
}
},
"onCreateCommand": "bash ./.devcontainer/on_create_commands.sh"
}