Use pre-built base image in build-local.sh to speed up cold builds #51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
build-local.shuses rawrust:1.93-bookwormas the build image. On cold builds (CI, fresh workspace), the WASM step spends ~5-6 min installing dioxus-cli, binaryen, and wasm target every time.Solution
Use
Dockerfile.base(already exists) as a pre-built base image with all tooling baked in:Update
build-local.shto usehero_zero:baseinstead ofrust:1.93-bookworm.Add
make basetarget to build and push the base image.Impact
Related: lhumina_code/home#17