11{
2- "name" : " Miniconda (Python 3)" ,
3- "build" : {
4- "context" : " .." ,
5- "dockerfile" : " Dockerfile" ,
6- "args" : {
7- "NODE_VERSION" : " lts/*"
8- }
9- },
10-
11- "hostRequirements" : { "cpus" : 4 , "memory" : " 8gb" , "storage" : " 50gb" },
12-
13- // Configure tool-specific properties.
14- "customizations" : {
15- // Configure properties specific to VS Code.
16- "vscode" : {
17- // Set *default* container specific settings.json values on container create.
18- "settings" : {
19- "python.defaultInterpreterPath" : " /opt/conda/bin/python" ,
20- "python.linting.enabled" : true ,
21- "python.linting.pylintEnabled" : true ,
22- "python.formatting.autopep8Path" : " /usr/local/py-utils/bin/autopep8" ,
23- "python.formatting.blackPath" : " /usr/local/py-utils/bin/black" ,
24- "python.formatting.yapfPath" : " /usr/local/py-utils/bin/yapf" ,
25- "python.linting.banditPath" : " /usr/local/py-utils/bin/bandit" ,
26- "python.linting.flake8Path" : " /usr/local/py-utils/bin/flake8" ,
27- "python.linting.mypyPath" : " /usr/local/py-utils/bin/mypy" ,
28- "python.linting.pycodestylePath" : " /usr/local/py-utils/bin/pycodestyle" ,
29- "python.linting.pydocstylePath" : " /usr/local/py-utils/bin/pydocstyle" ,
30- "python.linting.pylintPath" : " /usr/local/py-utils/bin/pylint"
31- },
32-
33- // Add the IDs of extensions you want installed when the container is created.
34- "extensions" : [
35- " ms-python.python" ,
36- " ms-python.vscode-pylance"
37- ]
38- }
39- },
40-
41- // Use 'forwardPorts' to make a list of ports inside the container available locally.
42- // "forwardPorts": [],
43-
44- // Use 'postCreateCommand' to run commands after the container is created.
45- // "postCreateCommand": "python --version",
46-
47- // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
48- "remoteUser" : " vscode"
49- }
2+ "name" : " Miniconda (Python 3)" ,
3+ "build" : {
4+ "context" : " .." ,
5+ "dockerfile" : " Dockerfile" ,
6+ "args" : {
7+ "NODE_VERSION" : " lts/*"
8+ }
9+ },
10+ "hostRequirements" : {
11+ "cpus" : 4 ,
12+ "memory" : " 8gb" ,
13+ "storage" : " 50gb"
14+ },
15+ "customizations" : {
16+ "vscode" : {
17+ "settings" : {
18+ "python.defaultInterpreterPath" : " /opt/conda/bin/python" ,
19+ "python.linting.enabled" : true ,
20+ "python.linting.pylintEnabled" : true ,
21+ "python.formatting.autopep8Path" : " /usr/local/py-utils/bin/autopep8" ,
22+ "python.formatting.blackPath" : " /usr/local/py-utils/bin/black" ,
23+ "python.formatting.yapfPath" : " /usr/local/py-utils/bin/yapf" ,
24+ "python.linting.banditPath" : " /usr/local/py-utils/bin/bandit" ,
25+ "python.linting.flake8Path" : " /usr/local/py-utils/bin/flake8" ,
26+ "python.linting.mypyPath" : " /usr/local/py-utils/bin/mypy" ,
27+ "python.linting.pycodestylePath" : " /usr/local/py-utils/bin/pycodestyle" ,
28+ "python.linting.pydocstylePath" : " /usr/local/py-utils/bin/pydocstyle" ,
29+ "python.linting.pylintPath" : " /usr/local/py-utils/bin/pylint"
30+ },
31+ "extensions" : [
32+ " ms-python.python" ,
33+ " ms-python.vscode-pylance"
34+ ]
35+ }
36+ },
37+ "forwardPorts" : [],
38+ "postCreateCommand" : " conda update conda -y && conda env create -f environment.yml" ,
39+ "remoteUser" : " vscode"
40+ }
0 commit comments