feat(devcontainer): GE-Proton10-34 を image に prefetch し PROTONPATH を固定#69
Merged
Conversation
umu の Proton 自動 DL が不安定 (現状エラー) かつバージョンが固定できないため、 GE-Proton10-34 を build-time に /opt/proton へ sha512 検証付きで展開し、 PROTONPATH をその絶対パスへ向けて自動 DL をバイパスする。バージョンは ARG GE_PROTON_VERSION で固定。launcher.py は env を尊重 (setdefault) するため コード変更不要。CONTRIBUTING.md / setup-resonite-env skill の起動時 DL 記述も追従。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
umu-launcher は
PROTONPATHが未取得の論理名 (GE-Proton) だと GitHub Releases から最新版を自動 DL するが、この自動 DL が現状エラーになっている。あわせて、プロジェクトで使う Proton バージョンを固定したい。変更
.devcontainer/Dockerfile:/opt/proton/GE-Proton10-34へ展開 (tar.gzをsha512sum -cで完全性検証)。バージョンはARG GE_PROTON_VERSIONで固定ENV PROTONPATHを論理名GE-Proton→ 絶対パス/opt/proton/GE-Proton10-34に変更し、umu の自動 DL をバイパスCONTRIBUTING.md/.claude/skills/setup-resonite-env/SKILL.md: 「コンテナ起動時に GE-Proton を DL」という記述を実態 (image に prefetch 済み・起動時 DL なし) に追従設計判断
/opt/protonは root 所有のシステムパスで、prefetch は image レイヤにキャッシュすべき build-time の仕事。container-init.sh は dev ユーザーで毎回走る deps restore なので不適launcher.pyは変更不要:_build_commandはPROTONPATHを arg > env >GE-Protonのsetdefaultで解決するため、container ENV のパスがそのまま尊重される。host fallback 用のコード既定値GE-Protonは維持 (関連テストも green のまま)/opt/protonは root 所有・読取専用で可: Proton はPROTONPATHには書かず、書き込みはWINEPREFIX/compatdata 側検証
tar.gz/sha512sumアセット存在を確認済 (HTTP 200)just resonite-launchの起動確認をお願いします🤖 Generated with Claude Code