-
Notifications
You must be signed in to change notification settings - Fork 235
/
.devcontainer.json
37 lines (32 loc) · 1.41 KB
/
.devcontainer.json
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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/python-3
{
"name": "Kubric",
// --- loads from pre-built container
"image": "docker.io/kubricdockerhub/kubruntudev:latest",
// --- builds container (extremely slow... 2h built time!)
// "build": {
// "dockerfile": "./docker/Kubruntu.Dockerfile",
// "context": ".",
// },
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"python.pythonPath": "/usr/local/bin/python3",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.yapfPath": "/usr/local/bin/yapf",
"python.linting.flake8Path": "/usr/local/bin/flake8",
"python.linting.pylintPath": "/usr/local/bin/pylint"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python"
]
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pip3 install --user -r requirements.txt",
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}