File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/powershell
3+ {
4+ "name" : " PowerShell" ,
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image" : " mcr.microsoft.com/powershell:lts-debian-11" ,
7+ "features" : {
8+ "ghcr.io/devcontainers/features/common-utils:2" : {},
9+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {},
10+ "ghcr.io/devcontainers/features/powershell:1" : {},
11+ "ghcr.io/devcontainers/features/dotnet:1" : {}
12+ },
13+
14+ "postCreateCommand" : " sudo chsh vscode -s \" $(which pwsh)\" && " ,
15+
16+ // Configure tool-specific properties.
17+ "customizations" : {
18+ // Configure properties specific to VS Code.
19+ "vscode" : {
20+ // Set *default* container specific settings.json values on container create.
21+ "settings" : {
22+ "terminal.integrated.defaultProfile.linux" : " pwsh"
23+ },
24+
25+ // Add the IDs of extensions you want installed when the container is created.
26+ "extensions" : [
27+ " ms-vscode.powershell"
28+ ]
29+ }
30+ }
31+
32+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
33+ // "forwardPorts": [],
34+
35+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
36+ // "remoteUser": "root"
37+ }
You can’t perform that action at this time.
0 commit comments