Skip to content

fix(docker): track stable Rust in the builder stage#72

Merged
BunsDev merged 1 commit into
mainfrom
fix/dockerfile-rust-toolchain
Jul 8, 2026
Merged

fix(docker): track stable Rust in the builder stage#72
BunsDev merged 1 commit into
mainfrom
fix/dockerfile-rust-toolchain

Conversation

@BunsDev

@BunsDev BunsDev commented Jul 8, 2026

Copy link
Copy Markdown
Member

The first publish.yml run (from #71) failed: the Dockerfile pins rust:1.83-bookworm, which predates edition2024 — clap_derive 4.6.1 fails to parse and cargo build --release --locked exits 101.

Fix: rust:1-bookworm (tracks latest stable), matching CI's dtolnay/rust-toolchain@stable, so the image builder can never fall behind the workspace's dependency floor again.

Verified: this is the exact error from the failed run (logs); CI compiles the same workspace on stable. The publish rerun on merge is the end-to-end verification.

The pinned rust:1.83 predates edition2024 dependencies (clap_derive 4.6
fails to parse), breaking the image publish workflow. Track rust:1-bookworm
(latest stable), matching CI's dtolnay/rust-toolchain@stable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Val Alexander <bunsthedev@gmail.com>
Copilot AI review requested due to automatic review settings July 8, 2026 21:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the hosted image publish pipeline by updating the Docker builder base image to track the current stable Rust toolchain, preventing the Docker build from lagging behind the workspace’s minimum Rust/edition requirements.

Changes:

  • Update the Dockerfile builder stage from a pinned Rust 1.83 image to rust:1-bookworm (stable-tracking) to avoid edition/dependency floor mismatches during cargo build --release --locked.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BunsDev BunsDev merged commit dff9533 into main Jul 8, 2026
2 checks passed
@BunsDev BunsDev deleted the fix/dockerfile-rust-toolchain branch July 8, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants