From 665bce64ae1ff6cda7f9f1faed49a219977b3259 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 15 Dec 2023 10:40:50 -0800 Subject: [PATCH] docs(dotnet): add a note on how to install a custom .NET version in Docker (#28672) Fixes https://github.com/microsoft/playwright-dotnet/issues/2698 Relates https://github.com/microsoft/playwright/issues/28667 --- docs/src/docker.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/src/docker.md b/docs/src/docker.md index b4af453699..98e3f4d860 100644 --- a/docs/src/docker.md +++ b/docs/src/docker.md @@ -131,6 +131,15 @@ We currently publish images based on the following [Ubuntu](https://hub.docker.c Browser builds for Firefox and WebKit are built for the [glibc](https://en.wikipedia.org/wiki/Glibc) library. Alpine Linux and other distributions that are based on the [musl](https://en.wikipedia.org/wiki/Musl) standard library are not supported. +## Using a different .NET version +* langs: csharp + +You can use the [.NET install script](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script) in order to install different SDK versions: + +```bash +curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --install-dir /usr/share/dotnet --channel 6.0 +``` + ## Development * langs: js