fix: Dockerイメージビルドの失敗を修正 - #238
Merged
Merged
Conversation
- cargo-chefイメージをrust 1.87から1.97.1に更新 (rust-toolchain.tomlと同期)。 sentry 0.48.5やtime 0.3.47がrustc 1.88以上を要求するため、2026-04-10以降 Build and releaseワークフローが失敗し続けていた - 実行ステージのubuntu:24.04 (glibc 2.39) でバイナリが動くよう、 デフォルトのtrixie (glibc 2.41) ではなくbookworm variantを明示指定 - mariadb_repo_setupのsha256をMariaDB公式の現行版 (2026-06-30) に更新 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
outductor
force-pushed
the
fix/docker-build-rust-version
branch
from
August 2, 2026 00:17
8766794 to
430e202
Compare
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.
概要
mainブランチの「Build and release」ワークフローが2026-04-10以降すべて失敗していたのを修正します。
原因
cargo-chef:latest-rust-1.87に固定されたままだった一方、依存クレート (sentry 0.48.x、time 0.3.47など) がrustc 1.88以上を要求するようになり、cargo chef cookが失敗していました。rust-toolchain.tomlはRenovateが1.97.1まで更新し続けていましたが、latest-rust-1.87というタグ形式はRenovateがバージョンとして解釈できないため、Dockerfile側だけ放置されて乖離していました (CheckCodeはrust-toolchain.tomlを使うため成功し続けていた)。修正内容
latest-rust-1.97.1-bookwormに更新 (rust-toolchain.tomlと同期)検証
ローカル (arm64) でCIと同じ構成 (
docker build -f Dockerfile server/) でビルドが成功することを確認済み:cargo chef cook/cargo build --release通過補足
latest-rust-X.Y.Z形式のタグはRenovateが追跡できないため、今後もrust-toolchain.tomlの更新に合わせて手動で更新する必要があります (Dockerfileにコメントで注記済み)。🤖 Generated with Claude Code