Lesson learned the hard way: Don't waste time getting this up an running in an Alpine container.
At least I encountered these errors:
Absolutely no output from csharp-lsp and since alpine uses musl libc which weren't compatible with glibc I gave up on using Alpine as a development machine.
But using Debian (mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim) got me to the finish line.
Top comments (2)
I agree. I don't use devcontainers anymore on windows, i have different wsl2 distro for different projects types. I installed docker native inside my wsl distros much more efficient then docker desktop and less resource consuming. I wrote a post about this. For the majority of my projects angular, nestjs ... I use a debian trixie distro. The incompatibility you mention was a very big headache for me.
Using different wsl distros is brilliant, widely overseen I think. I switched to MacOS a couple of years ago, so I still stick to devcontainer's myself. :)