Skip to content

Commit 8178956

Browse files
authored
Add Docker update info for 2.2 (dotnet#9827)
1 parent 24a6cc9 commit 8178956

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

aspnetcore/migration/21-to-22.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ services.AddMvc()
7878
.SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
7979
```
8080

81+
## Update Docker images
82+
83+
The following table shows the Docker image tag changes:
84+
85+
|2.1 |2.2 |
86+
|------------------------------------------|------------------------------------------|
87+
|`microsoft/dotnet:2.1-aspnetcore-runtime` |`microsoft/dotnet:2.2-aspnetcore-runtime` |
88+
|`microsoft/dotnet:2.1-sdk` |`microsoft/dotnet:2.2-sdk` |
89+
90+
Change the `FROM` lines in your *Dockerfile* to use the new image tags in the preceding table's 2.2 column.
91+
8192
## Additional resources
8293

8394
* <xref:mvc/compatibility-version>

0 commit comments

Comments
 (0)