From 333be49cb87159c4319a1fa03ed95c0eca9ec1a6 Mon Sep 17 00:00:00 2001 From: Bernie White Date: Fri, 6 Dec 2024 02:52:21 +1000 Subject: [PATCH] Update Dev Container config --- .devcontainer/devcontainer.json | 10 ++++------ .gitignore | 1 + global.json | 3 ++- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 56de2614b2a..6333a215c23 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,9 +1,8 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/dotnet { - "name": "PSRule for Azure Developer Codespace", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm", + "name": "PSRule for Azure Developer", + "image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-noble", "customizations": { "vscode": { "settings": { @@ -34,15 +33,14 @@ "ghcr.io/devcontainers/features/github-cli:1": { "version": "latest" }, - "ghcr.io/devcontainers/features/azure-cli": { + "ghcr.io/devcontainers/features/azure-cli:1": { "version": "latest" }, - "ghcr.io/devcontainers/features/python": { + "ghcr.io/devcontainers/features/python:1": { "version": "latest" } }, "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", "updateContentCommand": "/usr/bin/pwsh -f .devcontainer/container-build.ps1", "postStartCommand": "/usr/bin/pwsh -f .devcontainer/container-start.ps1" - // && 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 && } diff --git a/.gitignore b/.gitignore index 66b18fef190..97b9f9e76bc 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ site/ dist/ **/bin/ **/obj/ +**/node_modules/ **/__pycache__/ **/*.egg-info/ **/build/ diff --git a/global.json b/global.json index ae9f38c48f8..93114047723 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,7 @@ { "sdk": { + "allowPrerelease": false, "version": "8.0.400", - "rollForward": "latestFeature" + "rollForward": "latestPatch" } }