Skip to content

fix(docker): proxy builds on rust:1-bookworm (was pinned to 1.78)#15

Merged
keirsalterego merged 1 commit into
mainfrom
fix/dockerfile-rust-edition
May 24, 2026
Merged

fix(docker): proxy builds on rust:1-bookworm (was pinned to 1.78)#15
keirsalterego merged 1 commit into
mainfrom
fix/dockerfile-rust-edition

Conversation

@keirsalterego

Copy link
Copy Markdown
Contributor

The proxy Dockerfile pinned rust:1.78, but a dependency requires the Rust 2024 edition (>= 1.85), so the container build failed (works locally on rustc 1.95). Bumped to rust:1-bookworm + added .dockerignore to keep target/ out of the build context. Validated by building + running it in the single-host compose stack.

The image pinned rust:1.78, but a Cargo.lock dependency now requires the Rust 2024 edition (>= 1.85), so 'cargo build --release' failed with an edition-2024 error (builds fine locally on 1.95). Bumped the builder to rust:1-bookworm (glibc-compatible with the debian:bookworm-slim runtime). Added .dockerignore so the 1.7 GB target/ dir isn't shipped into the build context. Validated: the image now builds and runs in the compose stack.
Copilot AI review requested due to automatic review settings May 24, 2026 19:14
@keirsalterego keirsalterego merged commit 3301f9d into main May 24, 2026
@keirsalterego keirsalterego deleted the fix/dockerfile-rust-edition branch May 24, 2026 19:14
@keirsalterego keirsalterego review requested due to automatic review settings May 24, 2026 19:35
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.

1 participant