Skip to content

Add libatomic to 8.0+ SDK images - #5066

Merged
lbussell merged 2 commits into
dotnet:nightlyfrom
lbussell:issue-5033-3
Jan 3, 2024
Merged

lbussell merged 2 commits into
dotnet:nightlyfrom
lbussell:issue-5033-3

Conversation

@lbussell

Copy link
Copy Markdown
Member

Fixes #5033

I was unable to verify that this fixes the scenario in dotnet/runtime#95477. None of the wasm samples I tried (wasmbrowser, blazorwasm, maui) seemed to have issues with the SDK images as they are. However, I have prepared this PR with no tests in the meantime.

@baronfel, what would be the minimum possible repro for something like that runtime issue? Is there a dotnet new template I should be looking at?

@baronfel

Copy link
Copy Markdown
Member

@lbussell a user submitted a failing sample at dotnet/sdk#37668 - can you try to replicate using that?

@MichaelSimons MichaelSimons left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved with the conditions that a manual repro will be validated and that a follow-up PR will include an automated test scenario.

@lbussell

lbussell commented Jan 2, 2024 •

Copy link
Copy Markdown
Member Author

Approved with the conditions that a manual repro will be validated and that a follow-up PR will include an automated test scenario.

I validated that the new images work for Debian, Ubuntu, and Mariner/Azure Linux. My test app does not build on Alpine due to dotnet/sdk#32327, I added a comment here: dotnet/sdk#32327 (comment).

My test repo is https://github.com/lbussell/blazorwasm-repro, Dockerfile

@lbussell

lbussell commented Jan 3, 2024

Copy link
Copy Markdown
Member Author

See the reply at dotnet/sdk#32327 (comment) - The musl fix for the wasm-tools workload appears to be in main/9.0 only. We should move forwards with the Debian/Ubuntu/Mariner fix and remove the changes to Alpine until it's fixed in 8.0 servicing (if it is fixed).

@lbussell

lbussell commented Jan 3, 2024

Copy link
Copy Markdown
Member Author

I tested this on Alpine with .NET 9 as well and there was another issue, so I removed it from both. I updated the SDK issue with my findings.

@lbussell
lbussell merged commit 232887a into dotnet:nightly Jan 3, 2024
@lbussell lbussell mentioned this pull request Jan 3, 2024
@lbussell

lbussell commented Jan 3, 2024

Copy link
Copy Markdown
Member Author

Approved with the conditions that a manual repro will be validated and that a follow-up PR will include an automated test scenario.

Filed #5076 for the test scenario.

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

Labels

area-dockerfiles Concerns the official .NET Dockerfiles or Dockerfile templates untriaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants