Add DOTNET_CLI_TELEMETRY_OPTOUT=1 to the environment
Initial reported at https://bugs.kali.org/view.php?id=7249
I think we should add environment variables to disable the telemetry from the dotnet-sdk-3.1
package, as we already do for powershell
. dotnet-sdk is a dependency of powershell if I'm not mistaken.