1if [ ! -w "$HOME" ]; then
2 export HOME=$(mktemp -d) # Dotnet expects a writable home directory for its configuration files
3fi
4
5export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 # Dont try to expand NuGetFallbackFolder to disk
6export DOTNET_NOLOGO=1 # Disables the welcome message
7export DOTNET_CLI_TELEMETRY_OPTOUT=1
8export DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK=1 # Skip integrity check on first run, which fails due to read-only directory