diff --git a/src/dotnet/.devcontainer/Dockerfile b/src/dotnet/.devcontainer/Dockerfile index e9cd85172..a3c9745fd 100644 --- a/src/dotnet/.devcontainer/Dockerfile +++ b/src/dotnet/.devcontainer/Dockerfile @@ -1,3 +1,3 @@ -ARG VARIANT=7.0-bookworm-slim +ARG VARIANT=8.0-bookworm-slim FROM mcr.microsoft.com/dotnet/sdk:${VARIANT} ENV PATH $PATH:/home/vscode/.dotnet:/home/vscode/.dotnet/tools \ No newline at end of file diff --git a/src/dotnet/README.md b/src/dotnet/README.md index 210f40105..b83d63865 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* | 6.0 /6.0-bookworm, 6.0-bullseye, 6.0-jammy, 6.0-focal, 7.0 /7.0-bookworm, 7.0-bullseye, 7.0-jammy ([full list](https://mcr.microsoft.com/v2/devcontainers/dotnet/tags/list)) | +| *Available image variants* | 8.0 /8.0-bookworm, 8.0-bullseye, 8.0-jammy, 7.0 /7.0-bookworm, 7.0-bullseye, 7.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)) | | *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, `bullseye`, `jammy` variants | | *Container host OS support* | Linux, macOS, Windows | | *Container OS* | Ubuntu (`-focal`, `-jammy`), Debian (`-bullseye`, `-bookworm`) | @@ -22,8 +22,10 @@ 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:6.0` (or `6.0-bookworm`, `6.0-bullseye`, `6.0-jammy`, `6.0-focal` to pin to an OS version) +- `mcr.microsoft.com/devcontainers/dotnet:8.0` (or `8.0-bookworm`, `8.0-bullseye`, `8.0-jammy` to pin to an OS version) - `mcr.microsoft.com/devcontainers/dotnet:7.0` (or `7.0-bookworm`, `7.0-bullseye`, `7.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) + Refer to [this guide](https://containers.dev/guide/dockerfile) for more details. diff --git a/src/dotnet/manifest.json b/src/dotnet/manifest.json index 6701c0514..b0d6d8c52 100644 --- a/src/dotnet/manifest.json +++ b/src/dotnet/manifest.json @@ -1,6 +1,9 @@ { "version": "1.0.1", "variants": [ + "8.0-bookworm-slim", + "8.0-bullseye-slim", + "8.0-jammy", "7.0-bookworm-slim", "7.0-bullseye-slim", "7.0-jammy", @@ -10,12 +13,24 @@ "6.0-focal" ], "build": { - "latest": "7.0-bullseye-slim", + "latest": "8.0-bullseye-slim", "rootDistro": "debian", "tags": [ "dotnet:${VERSION}-${VARIANT}" ], "architectures": { + "8.0-bookworm-slim": [ + "linux/amd64", + "linux/arm64" + ], + "8.0-bullseye-slim": [ + "linux/amd64", + "linux/arm64" + ], + "8.0-jammy": [ + "linux/amd64", + "linux/arm64" + ], "7.0-bookworm-slim": [ "linux/amd64", "linux/arm64" @@ -45,6 +60,13 @@ ] }, "variantTags": { + "8.0-bookworm-slim": [ + "dotnet:${VERSION}-8.0", + "dotnet:${VERSION}-8.0-bookworm" + ], + "8.0-bullseye-slim": [ + "dotnet:${VERSION}-8.0-bullseye" + ], "7.0-bookworm-slim": [ "dotnet:${VERSION}-7.0", "dotnet:${VERSION}-7.0-bookworm"