Last active
October 26, 2025 03:19
-
-
Save kiyoaki/1df3ed0b037400a16988fd3a2f2cd961 to your computer and use it in GitHub Desktop.
Codex universal container image's setup scipt for dotnet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # セットアップ スクリプトもメンテナンススクリプトも下記を設定したうえで | |
| sudo apt install gpg | |
| wget https://dot.net/v1/dotnet-install.asc | |
| gpg --import dotnet-install.asc | |
| wget https://dot.net/v1/dotnet-install.sh | |
| wget https://dot.net/v1/dotnet-install.sig | |
| gpg --verify dotnet-install.sig dotnet-install.sh | |
| chmod +x ./dotnet-install.sh | |
| ./dotnet-install.sh --channel STS | |
| export DOTNET_ROOT=$HOME/.dotnet | |
| export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools | |
| dotnet --info | |
| # AGENTS.md に下記も書いておいた方が良い | |
| # If the dotnet command is not found, run the following and retry: export DOTNET_ROOT=$HOME/.dotnet, export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools, then dotnet --info. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment