Replies: 3 comments
-
Issue moved from dotnet/aspnetcore#50399
From @lonix1 on Wednesday, August 30, 2023 1:26:31 AM UPDATE:The answers in that SO thread explain that the So this is working properly, but the documentation needs some polish. Somewhere in [1] or [2] it should mention that the self-contained single-file app cannot be run in Could you possibly move this to the docs repo? |
Beta Was this translation helpful? Give feedback.
-
Issue moved from dotnet/aspnetcore#50399
From @javiercn on Wednesday, August 30, 2023 10:24:32 AM @lonix1 thanks for contacting us. This is more likely a question for the dotnet/docker repository since they centrally manage all images. @richlander thoughts? |
Beta Was this translation helpful? Give feedback.
-
This was already answered here: https://stackoverflow.com/questions/77000895/dockerise-asp-net-core-app-with-alpine-image |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue moved from dotnet/aspnetcore#50399
From @lonix1 on Tuesday, August 29, 2023 3:46:57 PM
I originally asked on SO without resolution. I assume this is not working as intended.
I want my dockerised ASP.NET Core 7 app based on Alpine (not ASP.NET Core Runtime).
MyApp.csproj
contains:Dockerfile
contains:But when I start a container, I get:
It works with the normal image (i.e.
FROM mcr.microsoft.com/dotnet/aspnet
).The docs imply that with the correct RID (
linux-musl-x64
), this should work. But obviously the generated binary is missing native dependencies.Beta Was this translation helpful? Give feedback.
All reactions