Description
If someone tries to publish for NativeAOT from Ubuntu to Alpine, the publish "works", but the app doesn't run.
Reproduction Steps
On an Ubuntu machine:
dotnet new webapiaot
dotnet publish -t:PublishContainer -r linux-musl-x64 -p:ContainerBaseImage=alpine:latest
try to run your new alpine container, and it fails to run:
exec /app/myapp: no such file or directory
Expected behavior
I would expect either:
- The app should work
-or-
- I get a publish error that this isn't supported
Actual behavior
I don't get an error. And the app doesn't work.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
cc @baronfel @agocke @MichalStrehovsky @richlander
Description
If someone tries to publish for NativeAOT from Ubuntu to Alpine, the publish "works", but the app doesn't run.
Reproduction Steps
On an Ubuntu machine:
dotnet new webapiaotdotnet publish -t:PublishContainer -r linux-musl-x64 -p:ContainerBaseImage=alpine:latesttry to run your new alpine container, and it fails to run:
Expected behavior
I would expect either:
-or-
Actual behavior
I don't get an error. And the app doesn't work.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
cc @baronfel @agocke @MichalStrehovsky @richlander