❔ .net 7, net 7.0.3 compatibility issues? in docker
I have following issue: i'm trying to run my application in docker, but it complains that i have no framework 7.0.0, meanwhile
dotnet --list-runtimes
says i have .net 7.0.3 ( see screenshots )
^ tried multiple combinations of build and runtime base layers, i noticed that only "aspnet" working but it breaks something else, how can i tell dotnet
command to use proper version of dotnet?10 Replies
net 6.0 worked fine with "runtime:6.0" base image,
meanwhile
aspnet:7.0
throws error: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by /app/runtimes/linux-x64/native/NetModuleWrapper.so)
because my application require some c++ to run--list-sdks
https://dotnet.microsoft.com/en-us/download/dotnet/7.0 need sdk, not just runtime
Microsoft
Download .NET 7.0 (Linux, macOS, and Windows)
.NET 7.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
any other solutions?
anyone? 😦
What?
Why do you need solutions other than the one that works?
maybe my problem is just a bit specific, because i'm using native c++ and when i try this solution i'm getting segmentation fault, 139 status code
Installed sdk?
probably i will need to downgrade to net 6
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.