Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit dbf3ff8

Browse files
committed
Move settings into devcontainer.json
1 parent dfd5be0 commit dbf3ff8

File tree

87 files changed

+243
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+243
-222
lines changed

container-templates/docker-compose/.devcontainer/devcontainer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@
1313
// connected. This is typically a volume mount in .devcontainer/docker-compose.yml
1414
"workspaceFolder": "/workspace",
1515

16-
// Add any extensions you want auto-installed here.
17-
"extensions": [],
18-
1916
// Update the value of this line to 'none' if you want to keep your containers running after VS Code shuts down.
2017
"shutdownAction": "stopCompose",
2118

19+
// Uncomment the next line to automatically install extensions.
20+
// "extensions": [ "eamodio.gitlens" ],
21+
22+
// Uncomment the next line if you want to add in default container specific settings.json values
23+
// "settings": { "workbench.colorTheme": "Quiet Light" },
24+
2225
// Uncomment the next line to run commands after the container is created.
2326
// "postCreateCommand": ["uname -a"]
24-
27+
2528
}

container-templates/dockerfile/.devcontainer/devcontainer.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
66
"dockerFile": "Dockerfile",
77

8-
// Use the optional 'appPort' property to publish any ports you want to access.
9-
"appPort": [],
10-
11-
// Add any extensions you want auto-installed here.
12-
"extensions": [],
13-
148
// The optional 'runArgs' property can be used to specify additional runtime arguments.
159
"runArgs": [
1610
// Uncomment the next line if you want to use Docker from the container. See the docker-in-docker definition for details.
@@ -21,6 +15,16 @@
2115
// "--security-opt", "seccomp=unconfined"
2216
],
2317

18+
// Uncomment the next line if you want to publish any ports.
19+
// "appPort": [],
20+
21+
// Uncomment the next line to automatically install extensions.
22+
// "extensions": [ "eamodio.gitlens" ],
23+
24+
// Uncomment the next line if you want to add in default container specific settings.json values
25+
// "settings": { "workbench.colorTheme": "Quiet Light" },
26+
2427
// Uncomment the next line to run commands after the container is created.
25-
// "postCreateCommand": ["uname -a"]
28+
// "postCreateCommand": "uname -a",
29+
2630
}

container-templates/image/.devcontainer/devcontainer.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
// Update the 'image' property with your Docker image name.
66
"image": "ubuntu:bionic",
77

8-
// Use the optional 'appPort' property to publish any ports you want to access.
9-
"appPort": [],
10-
11-
// Add any extensions you want auto-installed here.
12-
"extensions": [],
13-
148
// The optional 'runArgs' property can be used to specify additional runtime arguments.
159
"runArgs": [
1610
// Uncomment the next line if you want to use Docker from the container. See the docker-in-docker definition for details.
@@ -21,6 +15,16 @@
2115
// "--security-opt", "seccomp=unconfined"
2216
],
2317

18+
// Uncomment the next line if you want to publish any ports.
19+
// "appPort": [],
20+
21+
// Uncomment the next line to automatically install extensions.
22+
// "extensions": [ "eamodio.gitlens" ],
23+
24+
// Uncomment the next line if you want to add in default container specific settings.json values
25+
// "settings": { "workbench.colorTheme": "Quiet Light" },
26+
2427
// Uncomment the next line to run commands after the container is created.
25-
// "postCreateCommand": ["uname -a"]
28+
// "postCreateCommand": "uname -a",
29+
2630
}

containers/azure-ansible/.devcontainer/devcontainer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
"ms-vscode.azurecli"
88
],
99
"runArgs": [
10-
"-v",
11-
"/var/run/docker.sock:/var/run/docker.sock"
10+
"-v", "/var/run/docker.sock:/var/run/docker.sock"
1211
],
12+
1313
// Uncomment the next line if you want to publish any ports.
1414
// "appPort": [],
15+
16+
// Uncomment the next line if you want to add in default container specific settings.json values
17+
// "settings": { "workbench.colorTheme": "Quiet Light" },
18+
1519
// Uncomment the next line to run commands after the container is created.
1620
// "postCreateCommand": "ansible --version"
1721
}

containers/azure-cli/.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// Uncomment the next line if you want to publish any ports.
99
// "appPort": [],
1010

11+
// Uncomment the next line if you want to add in default container specific settings.json values
12+
// "settings": { "workbench.colorTheme": "Quiet Light" },
13+
1114
// Uncomment the next line to run commands after the container is created.
1215
// "postCreateCommand": "az --version"
1316
}

containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"ms-vscode.csharp"
88
],
99

10+
// Uncomment the next line if you want to add in default container specific settings.json values
11+
// "settings": { "workbench.colorTheme": "Quiet Light" },
12+
1013
// Uncomment the next line to run commands after the container is created.
1114
// "postCreateCommand": "dotnet restore"
1215
}

containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"ms-vscode.csharp"
88
],
99

10+
// Uncomment the next line if you want to add in default container specific settings.json values
11+
// "settings": { "workbench.colorTheme": "Quiet Light" },
12+
1013
// Uncomment the next line to run commands after the container is created.
1114
// "postCreateCommand": "dotnet restore"
1215
}

containers/azure-functions-java-8/.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"vscjava.vscode-java-pack"
88
],
99

10+
// Uncomment the next line if you want to add in default container specific settings.json values
11+
// "settings": { "workbench.colorTheme": "Quiet Light" },
12+
1013
// Uncomment the next line to run commands after the container is created.
1114
// "postCreateCommand": "java -version"
1215
}

containers/azure-functions-node-8/.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"dbaeumer.vscode-eslint"
88
],
99

10+
// Uncomment the next line if you want to add in default container specific settings.json values
11+
// "settings": { "workbench.colorTheme": "Quiet Light" },
12+
1013
// Uncomment the next line to run commands after the container is created.
1114
// "postCreateCommand": "npm install"
1215
}

containers/azure-functions-node-lts/.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"dbaeumer.vscode-eslint"
88
],
99

10+
// Uncomment the next line if you want to add in default container specific settings.json values
11+
// "settings": { "workbench.colorTheme": "Quiet Light" },
12+
1013
// Uncomment the next line to run commands after the container is created.
1114
// "postCreateCommand": "npm install"
1215
}

0 commit comments

Comments
 (0)