playwright-dotnet icon indicating copy to clipboard operation
playwright-dotnet copied to clipboard

[Feature] Update base docker image to .NET 7

Open bsalmeida opened this issue 3 years ago • 3 comments

Currently, docker images use mcr.microsoft.com/dotnet/sdk:6.0-* (jammy or focal) as the base image. You can check it out on utils/docker/Dockerfile.jammy or utils/docker/Dockerfile.focal files.

Please upgrade them or add another option using mcr.microsoft.com/dotnet/sdk:7.0-* so we can use it on .NET 7 projects.

bsalmeida avatar Aug 04 '23 11:08 bsalmeida

The Docker images are using the latest LTS release. If you want to use a different .NET version, you can either create your own Docker image or install .NET 7 inside ours.

Would that work for you?

As of today we don't plan to release it with different dotnet version matrix.

mxschmitt avatar Aug 04 '23 11:08 mxschmitt

Thanks for your quick response, Max. Of course, I created my own image, but I figured it would be nice if there was already an image ready to go, as .NET 7 isn't a preview or anything like that and there are official .NET 7.0 images provided by Microsoft.

bsalmeida avatar Aug 04 '23 13:08 bsalmeida

👍 closing for now since we have no plans to change the .NET base version which we use in the Docker image.

mxschmitt avatar Aug 07 '23 13:08 mxschmitt