How to make cron work on Centos 7 dotnet core

Since the initial release of dotnet core for cross platform I finally started to consider c# as viable language for other environments than linux. My first application is a very simple one but does contain such details as using http client. In development all went smoothly. Even running the app from production server by hand worked. However when attempting to run the app in a cron job I was met with a cryptic message:

The type initializer for ‘System.Net.Http.CurlHandler’ threw an exception.

After some digging around I realized that the environment variables Centos cron runs on, are woefully inadequate to run dotnet application. Meaning the dotnet installer on Centos fails to fill out the necessary information.