设置环境变量

environment {
    DOTNET_CLI_HOME = "/tmp/DOTNET_CLI_HOME"
}

或者

export DOTNET_CLI_HOME="/tmp/DOTNET_CLI_HOME"