Summary: cargo install dioxus-cli --version 0.7.9 dominates the UI Docker stage on cold builds; cache or prebake it.
Parent epic: #44
Objective / Problem
The UI stage installs dioxus-cli from crates.io on every cold build before dx build. That install is large and rarely changes (pinned 0.7.9).
Proposed Solution
Pick one (document choice):
- Persist CLI via BuildKit cache mount / dedicated layer that only busts when version changes.
- Or use a thin base image / GHCR cache image that already contains
dx 0.7.9.
- Align with local CONTRIBUTING pin (
0.7.9).
QA
Parent epic: #44
Objective / Problem
The UI stage installs
dioxus-clifrom crates.io on every cold build beforedx build. That install is large and rarely changes (pinned 0.7.9).Proposed Solution
Pick one (document choice):
dx0.7.9.0.7.9).QA
dx build -p proteus-uistill succeeds in the image.