Upgrade from `net8.0` to LTS (or STS) image tag

Open Beginner friendly
#7,144 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp, docker
Domain
devops

Research direction

Start with the listed Dockerfiles: core/nativeaot/HelloWorld/Dockerfile and orleans/ShoppingCart/Silo/Dockerfile. Check the image tags at the referenced lines and compare them with the suggested net10.0 target; read the linked .NET release notes if needed. Update each affected tag to an appropriate supported LTS or STS version, then confirm the Dockerfiles consistently target that version.

Written by the indexing model from the issue text.

Description

dotnet-target-version

The following Dockerfile(s) target a .NET version that's no longer supported.
This is an auto-generated issue, detailed and discussed in dotnet/docs#22271.

Target version End of life Release notes Nearest LTS TFM version
net8.0 November, 10 2026 net8.0 release notes net10.0

Consider upgrading Dockerfile images to either the Standard Term Support (STS) or Long Term Support (LTS) versions.

If any of these Dockerfile(s) listed in this issue are intentionally targeting an unsupported version,
you can optionally configure to ignore these results in future automation executions.
Create a (or update the) dotnet-versionsweeper.json file at the root of the repository and
add an ignore entry following the
globbing patterns detailed here.

{
    "ignore": [
        "**/path/to/Dockerfile"
    ]
}
Dominant language
C#
Stars
3.7k
Forks
5.1k
Avg merge
19h 47m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/samples

All issues in dotnet/samples

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.