melpon / wandbox-builder

Wandbox Infrastructure
Boost Software License 1.0
47 stars 33 forks source link

Skip first time exeuction for dotnet #116

Closed Headline closed 1 year ago

Headline commented 1 year ago

Hello!

Could the following environment variables be set in order to prevent the output below from displaying?

Translated: 以下の出力が表示されないようにするために、次の環境変数を設定できますか?

  DOTNET_NOLOGO=true
  DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
Welcome to .NET 5.0!
---------------------
SDK Version: 5.0.201

Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------

Ref: headline/discord-compiler-bot#187

melpon commented 1 year ago

https://github.com/melpon/wandbox-builder/commit/08cfc2fb239e8b5210e748887f909f8641fe902b で修正しました