File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1515 ]
1616 }
1717 },
18+ // Set *default* container specific shell values on container create.
19+ "settings" : {
20+ "terminal.integrated.shell.linux" : " /bin/bash"
21+ },
22+
23+ // Add the proxy settings to the container.
1824 "containerEnv" : {
19- "HTTP_PROXY" : " http://host.docker.internal:7890" ,
20- "HTTPS_PROXY" : " http://host.docker.internal:7890" ,
2125 "http_proxy" : " http://host.docker.internal:7890" ,
2226 "https_proxy" : " http://host.docker.internal:7890"
2327 },
2933 "forwardPorts" : [3000 ],
3034
3135 // Use 'postCreateCommand' to run commands after the container is created.
32- "postCreateCommand" : " npm install"
36+ "postCreateCommand" : " npm install" ,
37+
38+ // Use 'postStartCommand' to run git proxy configuration after the container is started.
39+ "postStartCommand" : " git config --global http.proxy http://host.docker.internal:7890"
3340
3441 // Configure tool-specific properties.
3542 // "customizations": {},
You can’t perform that action at this time.
0 commit comments