Commit fd2d916
committed
fix(02-04): pin cargo-chef to bookworm, fix axum 0.8 path syntax
[Rule 1 - Bug] Dockerfile: cargo-chef:latest-rust-1 uses Debian trixie (glibc 2.41)
but runtime image debian:bookworm-slim uses glibc 2.36 -- binary fails to start.
Fix: use lukemathwalker/cargo-chef:latest-rust-1-bookworm (glibc 2.36).
[Rule 1 - Bug] routes/mod.rs: axum 0.8 requires {param} path syntax, not :param.
The :height route panicked at runtime (cargo check passes but axum validates
at Router construction time, not compile time).1 parent de860ba commit fd2d916
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments