Use pre-built base image in build-local.sh to speed up cold builds #51
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_services_archive#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