File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM mcr.microsoft.com/planetary-computer/python:2021.07.08.0
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Planetary Computer (Python)" ,
3+ "build" : {
4+ "dockerfile" : " Dockerfile" ,
5+ "context" : " .." ,
6+ },
7+
8+ // Set *default* container specific settings.json values on container create.
9+ "settings" : {
10+ "python.pythonPath" : " /srv/conda/envs/notebook/bin/python" ,
11+ "python.languageServer" : " Pylance" ,
12+ "python.linting.enabled" : true ,
13+ },
14+
15+ // Add the IDs of extensions you want installed when the container is created.
16+ "extensions" : [
17+ " ms-python.python" ,
18+ " ms-python.vscode-pylance" ,
19+ " ms-toolsai.jupyter"
20+ ],
21+
22+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
23+ // "forwardPorts": [],
24+
25+ // Use 'postCreateCommand' to run commands after the container is created.
26+ // "postCreateCommand": "pip3 install --user -r requirements.txt",
27+
28+ // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
29+ "remoteUser" : " jovyan" ,
30+ "containerEnv" : {
31+ "DASK_GATEWAY__ADDRESS" : " https://pccompute.westeurope.cloudapp.azure.com/compute/services/dask-gateway" ,
32+ "DASK_GATEWAY__AUTH__TYPE" : " jupyterhub" ,
33+ "DASK_GATEWAY__PROXY_ADDRESS" : " gateway://pccompute-dask.westeurope.cloudapp.azure.com:80" ,
34+ "DASK_GATEWAY__CLUSTER__OPTIONS__IMAGE" : " pcccr.azurecr.io/public/planetary-computer/python:latest" ,
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments