-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.devcontainer.json
More file actions
25 lines (25 loc) · 820 Bytes
/
.devcontainer.json
File metadata and controls
25 lines (25 loc) · 820 Bytes
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
{
"name": "java-api",
"image": "quay.io/ignition-devs/devcontainer-base:python",
"workspaceMount": "source=${localWorkspaceFolder},target=${containerWorkspaceFolder},type=bind",
"workspaceFolder": "/workspaces/java-api",
"mounts": [
"source=pre-commit-cache,target=/root/.cache/pre-commit,type=volume"
],
"customizations": {
"vscode": {
"extensions": [
"github.vscode-github-actions",
"ms-python.python",
"ms-python.vscode-pylance"
],
"settings": {
"python.defaultInterpreterPath": "/opt/python/2.7/bin/python"
}
}
},
"postCreateCommand": {
"pre-commit": "pre-commit install --hook-type commit-msg --hook-type pre-commit --hook-type pre-push",
"dev-requirements": "python2 -m pip install --requirement requirements.txt"
}
}