I don't really know why but I had problems with the dotnet6 installation but the installation is working well by installing mono first. It seems others people than me was having the problem so it may be a good idea to add it as a default value.
Adjusts egg to allow proper install of updated BepInEx as well as dotnet6 in the container.