Skip to content

Dotnet image throws warning about stale workloads #1403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mathiyarasy
Copy link
Contributor

@Mathiyarasy Mathiyarasy commented May 13, 2025

Fixes : #1303

Description:
Dotnet image throws below warning when running dotnet build command first time.
"An issue was encountered verifying workloads. For more information, run "dotnet workload update".
Issue is reproducable when user is not a root user.

Changes:

  • Docker File: Adding write permission to other users to usr/share/dotnet resolves the issue.
  • Updated the dotnet version in test-project
  • Created a new test case to validate the fix

@Mathiyarasy Mathiyarasy requested a review from Kaniska244 May 13, 2025 13:27
Copy link
Contributor

@Kaniska244 Kaniska244 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks fine.

@Mathiyarasy Mathiyarasy marked this pull request as ready for review May 14, 2025 07:14
@Mathiyarasy Mathiyarasy requested a review from a team as a code owner May 14, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dotnet image throws warning about stale workloads
2 participants