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 · 1 comment
Open

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

Wagnerxyz opened this issue Dec 23, 2024 · 1 comment
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

2 participants