Skip to content

Commit 9a585c5

Browse files
authored
Support dotnet 10.0-preview version (#1344)
* Support dotnet 10.0-preview version. * To resolve conflict * To perform smoke test with 10.0 preview version trixie base image * To do smoke test with dotnet 10 preview ubuntu noble version * Revert back the Dockefile change to point to the latest version * Updated documentation
1 parent 440dda2 commit 9a585c5

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

src/dotnet/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
| *Categories* | Core, Languages |
1010
| *Image type* | Dockerfile |
1111
| *Published images* | mcr.microsoft.com/devcontainers/dotnet |
12-
| *Available image variants* | 9.0 /9.0-bookworm, 8.0 /8.0-bookworm, 9.0-noble, 8.0-noble, 8.0-jammy ([full list](https://mcr.microsoft.com/v2/devcontainers/dotnet/tags/list)) |
13-
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, `bullseye`, `noble`, `jammy` variants |
12+
| *Available image variants* | 10.0-preview /10.0-preview-trixie, 9.0 /9.0-bookworm, 8.0 /8.0-bookworm, 10.0-preview-noble, 9.0-noble, 8.0-noble, 8.0-jammy ([full list](https://mcr.microsoft.com/v2/devcontainers/dotnet/tags/list)) |
13+
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `trixie`, `bookworm`, `bullseye`, `noble`, `jammy` variants |
1414
| *Container host OS support* | Linux, macOS, Windows |
15-
| *Container OS* | Ubuntu (`-focal`, `-jammy`, `-noble`), Debian (`-bullseye`, `-bookworm`) |
15+
| *Container OS* | Ubuntu (`-focal`, `-jammy`, `-noble`), Debian (`-trixie`, `-bullseye`, `-bookworm`) |
1616
| *Languages, platforms* | .NET, .NET Core, C# |
1717

1818
See **[history](history)** for information on the contents of published images.
@@ -22,6 +22,7 @@ See **[history](history)** for information on the contents of published images.
2222
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.
2323

2424
- `mcr.microsoft.com/devcontainers/dotnet` (latest)
25+
- `mcr.microsoft.com/devcontainers/dotnet:10.0-preview` (or `10.0-preview-trixie`, `10.0-preview-noble` to pin to an OS version)
2526
- `mcr.microsoft.com/devcontainers/dotnet:9.0` (or `9.0-bookworm`, `9.0-noble` to pin to an OS version)
2627
- `mcr.microsoft.com/devcontainers/dotnet:8.0` (or `8.0-bookworm`, `8.0-noble`, `8.0-jammy` to pin to an OS version)
2728

@@ -30,9 +31,12 @@ Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.
3031

3132
You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example:
3233

34+
- `mcr.microsoft.com/devcontainers/dotnet:1-10.0-preview`
35+
- `mcr.microsoft.com/devcontainers/dotnet:1.4-10.0-preview`
36+
- `mcr.microsoft.com/devcontainers/dotnet:1.4.0-10.0-preview`
3337
- `mcr.microsoft.com/devcontainers/dotnet:1-9.0`
34-
- `mcr.microsoft.com/devcontainers/dotnet:1.3-9.0`
35-
- `mcr.microsoft.com/devcontainers/dotnet:1.3.0-9.0`
38+
- `mcr.microsoft.com/devcontainers/dotnet:1.4-9.0`
39+
- `mcr.microsoft.com/devcontainers/dotnet:1.4.0-9.0`
3640

3741
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).
3842

src/dotnet/manifest.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"version": "1.3.7",
2+
"version": "1.4.0",
33
"variants": [
4+
"10.0-preview-trixie-slim",
5+
"10.0-preview-noble",
46
"9.0-bookworm-slim",
57
"9.0-noble",
68
"8.0-bookworm-slim",
@@ -14,6 +16,14 @@
1416
"dotnet:${VERSION}-${VARIANT}"
1517
],
1618
"architectures": {
19+
"10.0-preview-trixie-slim": [
20+
"linux/amd64",
21+
"linux/arm64"
22+
],
23+
"10.0-preview-noble": [
24+
"linux/amd64",
25+
"linux/arm64"
26+
],
1727
"9.0-bookworm-slim": [
1828
"linux/amd64",
1929
"linux/arm64"
@@ -33,17 +43,21 @@
3343
"8.0-jammy": [
3444
"linux/amd64",
3545
"linux/arm64"
36-
]
46+
]
3747
},
3848
"variantTags": {
49+
"10.0-preview-trixie-slim": [
50+
"dotnet:${VERSION}-10.0-preview",
51+
"dotnet:${VERSION}-10.0-preview-trixie"
52+
],
3953
"9.0-bookworm-slim": [
4054
"dotnet:${VERSION}-9.0",
4155
"dotnet:${VERSION}-9.0-bookworm"
4256
],
4357
"8.0-bookworm-slim": [
4458
"dotnet:${VERSION}-8.0",
4559
"dotnet:${VERSION}-8.0-bookworm"
46-
]
60+
]
4761
}
4862
},
4963
"dependencies": {

0 commit comments

Comments
 (0)