Skip to content
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

can't run published linux-64 single-file on AlpineLinux #110911

Open
Wagnerxyz opened this issue Dec 23, 2024 · 4 comments
Open

can't run published linux-64 single-file on AlpineLinux #110911

Wagnerxyz opened this issue Dec 23, 2024 · 4 comments
Labels
area-Host needs-author-action An issue or pull request that requires more info or actions from the author. untriaged New issue has not been triaged by the area owner

Comments

@Wagnerxyz
Copy link

Wagnerxyz commented Dec 23, 2024

Description

run linux-64 single-file on AlpineLinux, shows "not found" error.
I tested it on Alpine 3.19 and 3.21 , both failed.
framework-dependent and self-contained both failed.

However, the same dotnet sdk and runtime version run normally on Fedora.

Publish options:
Image

Reproduction Steps

I have written a small console application using .NET 8
Console.WriteLine("Hello, World!");
Console.WriteLine("Done");

Expected behavior

Runs on Fedora:
Image

Actual behavior

Runs on Alpine:
Image

Regression?

No response

Known Workarounds

No response

Configuration

dotnet version: 8.0.4
os: AlpineLinux 3.19 ,3.21
architecture: linux-x64

Other information

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Dec 23, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Dec 23, 2024
@huoyaoyuan
Copy link
Member

The rid for Alpine and other musl-based distro is linux-musl-x64. linux-x64 is for glibc.

Copy link
Contributor

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 6, 2025
@elinor-fung
Copy link
Member

@Wagnerxyz could you try with the matching RID (linux-musl-x64) per #110911 (comment)?

@elinor-fung elinor-fung added the needs-author-action An issue or pull request that requires more info or actions from the author. label Jan 7, 2025
Copy link
Contributor

This issue has been marked needs-author-action and may be missing some important information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Host needs-author-action An issue or pull request that requires more info or actions from the author. untriaged New issue has not been triaged by the area owner
Projects
Status: No status
Development

No branches or pull requests

5 participants