diff --git a/src/dotnet/.devcontainer/Dockerfile b/src/dotnet/.devcontainer/Dockerfile index 1f8a6f182..649e306b4 100644 --- a/src/dotnet/.devcontainer/Dockerfile +++ b/src/dotnet/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -ARG VARIANT=8.0-bookworm-slim +ARG VARIANT=9.0-bookworm-slim FROM mcr.microsoft.com/dotnet/sdk:${VARIANT} ENV PATH $PATH:/home/vscode/.dotnet:/home/vscode/.dotnet/tools diff --git a/src/dotnet/README.md b/src/dotnet/README.md index 1ac5d702c..67ca66767 100644 --- a/src/dotnet/README.md +++ b/src/dotnet/README.md @@ -9,7 +9,7 @@ | *Categories* | Core, Languages | | *Image type* | Dockerfile | | *Published images* | mcr.microsoft.com/devcontainers/dotnet | -| *Available image variants* | 8.0 /8.0-bookworm, 8.0-noble, 8.0-jammy, 6.0 /6.0-bookworm, 6.0-bullseye, 6.0-jammy, 6.0-focal ([full list](https://mcr.microsoft.com/v2/devcontainers/dotnet/tags/list)) | +| *Available image variants* | 9.0 /9.0-bookworm, 8.0 /8.0-bookworm, 9.0-jammy, 8.0-jammy, 8.0-noble, 6.0 /6.0-bookworm, 6.0-bullseye, 6.0-jammy, 6.0-focal ([full list](https://mcr.microsoft.com/v2/devcontainers/dotnet/tags/list)) | | *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, `bullseye`, `noble`, `jammy` variants | | *Container host OS support* | Linux, macOS, Windows | | *Container OS* | Ubuntu (`-focal`, `-jammy`, `-noble`), Debian (`-bullseye`, `-bookworm`) | @@ -22,6 +22,7 @@ See **[history](history)** for information on the contents of published images. You can directly reference pre-built versions of `Dockerfile` by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` to one of the following. An example `Dockerfile` is included in this repository. - `mcr.microsoft.com/devcontainers/dotnet` (latest) +- `mcr.microsoft.com/devcontainers/dotnet:9.0` (or `9.0-bookworm`, `9.0-noble` to pin to an OS version) - `mcr.microsoft.com/devcontainers/dotnet:8.0` (or `8.0-bookworm`, `8.0-noble`, `8.0-jammy` to pin to an OS version) - `mcr.microsoft.com/devcontainers/dotnet:6.0` (or `6.0-bookworm`, `6.0-bullseye`, `6.0-jammy`, `6.0-focal` to pin to an OS version) @@ -30,9 +31,9 @@ Refer to [this guide](https://containers.dev/guide/dockerfile) for more details. You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example: -- `mcr.microsoft.com/devcontainers/dotnet:1-8.0` -- `mcr.microsoft.com/devcontainers/dotnet:1.0-8.0` -- `mcr.microsoft.com/devcontainers/dotnet:1.0.0-8.0` +- `mcr.microsoft.com/devcontainers/dotnet:1-9.0` +- `mcr.microsoft.com/devcontainers/dotnet:1.3-9.0` +- `mcr.microsoft.com/devcontainers/dotnet:1.3.0-9.0` See [history](history) for information on the contents of each version and [here for a complete list of available tags](https://mcr.microsoft.com/v2/devcontainers/dotnet/tags/list). diff --git a/src/dotnet/manifest.json b/src/dotnet/manifest.json index 6c5c8dd91..9c9b00354 100644 --- a/src/dotnet/manifest.json +++ b/src/dotnet/manifest.json @@ -1,6 +1,8 @@ { "version": "1.2.1", "variants": [ + "9.0-bookworm-slim", + "9.0-noble", "8.0-bookworm-slim", "8.0-noble", "8.0-jammy", @@ -10,12 +12,20 @@ "6.0-focal" ], "build": { - "latest": "8.0-bookworm-slim", + "latest": "9.0-bookworm-slim", "rootDistro": "debian", "tags": [ "dotnet:${VERSION}-${VARIANT}" ], "architectures": { + "9.0-bookworm-slim": [ + "linux/amd64", + "linux/arm64" + ], + "9.0-noble": [ + "linux/amd64", + "linux/arm64" + ], "8.0-bookworm-slim": [ "linux/amd64", "linux/arm64"