- Install pinned toolchain from rust-toolchain.toml in a cacheable layer - Remove target cache mount from warm-up step so deps persist in image layers - Keep final build using only registry/git mounts for speed and artifact persistence |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| rust-toolchain.toml | ||