Skip to content

Commit 375e4e5

Browse files
authored
Update Dev Container config (Azure#3195)
1 parent 096105e commit 375e4e5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.devcontainer/devcontainer.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
33
{
4-
"name": "PSRule for Azure Developer Codespace",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm",
4+
"name": "PSRule for Azure Developer",
5+
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-noble",
76
"customizations": {
87
"vscode": {
98
"settings": {
@@ -34,15 +33,14 @@
3433
"ghcr.io/devcontainers/features/github-cli:1": {
3534
"version": "latest"
3635
},
37-
"ghcr.io/devcontainers/features/azure-cli": {
36+
"ghcr.io/devcontainers/features/azure-cli:1": {
3837
"version": "latest"
3938
},
40-
"ghcr.io/devcontainers/features/python": {
39+
"ghcr.io/devcontainers/features/python:1": {
4140
"version": "latest"
4241
}
4342
},
4443
"onCreateCommand": "dotnet tool install --global PowerShell --version 7.4.6 && sudo chown -R vscode:vscode /usr/bin/pwsh && sudo apt-get update -y && sudo apt-get upgrade -y && dotnet restore && pip install -r requirements-docs.txt && ln /usr/bin/pwsh /home/vscode/.dotnet/tools/pwsh --force",
4544
"updateContentCommand": "/usr/bin/pwsh -f .devcontainer/container-build.ps1",
4645
"postStartCommand": "/usr/bin/pwsh -f .devcontainer/container-start.ps1"
47-
// && sudo apt-get install python3-pip python3-wheel python3-venv -y && python3 -m venv /home/vscode/python/dev && echo \"source /home/vscode/python/dev/bin/activate\" >> /home/vscode/.bashrc &&
4846
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ site/
88
dist/
99
**/bin/
1010
**/obj/
11+
**/node_modules/
1112
**/__pycache__/
1213
**/*.egg-info/
1314
**/build/

global.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"sdk": {
3+
"allowPrerelease": false,
34
"version": "8.0.400",
4-
"rollForward": "latestFeature"
5+
"rollForward": "latestPatch"
56
}
67
}

0 commit comments

Comments
 (0)