Skip to content

Upgrade from net9.0 to LTS (or STS) image tag #56293

Open

Description

@github-actions

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
net9.0 November, 10 2026 net9.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"
    ]
}

Activity

  1. ShyneChikwapulo commented on Oct 10, 2026

    @ShyneChikwapulo

    Hi, I'd like to contribute to this issue. Is it still open for community contributions? I can update the Docker image tags and check whether the sample's target framework needs to be updated as well. I'll keep the changes scoped to this sample.

  2. BillWagner commented on Oct 13, 2026

    @BillWagner
    Member

    Thanks @ShyneChikwapulo

    I'll watch for a PR.

  3. ShyneChikwapulo commented on Oct 13, 2026

    @ShyneChikwapulo

    Hi @BillWagner, I've opened PR #56393 for this issue. It updates the Dockerfile image tags (runtime and sdk 9.0 -> 10.0) and the project target framework (net9.0 -> net10.0).

    While validating the change, I noticed the sample's Dockerfile references ResourceMonitoring/ResourceMonitoring.csproj, but the project in this folder is resource-monitoring-with-manual-metrics.csproj, and there is no ResourceMonitoring/ subfolder. As a result, docker build fails at the first COPY step. This was already the case before my change (that line is unchanged from main), so I've kept PR #56393 limited to the version upgrade.

    Would you like me to open a separate issue and PR to fix the Dockerfile paths afterward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

dotnet-target-versionIssues and PRs automatically generated from the .NET version sweeper.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions