Production container with pre-baked service binaries #30
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#30
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?
Context
The current dev container (PR #28) ships a Rust toolchain and builds services from source at startup. This works for development but has drawbacks for production:
Goal
A production container that starts serving immediately with all binaries pre-built.
Approach
Builder stage
Extend the current builder stage to also build all service binaries:
Runtime stage
Switch from
rust:slim-bookworm(~800 MB) todebian:bookworm-slim(~80 MB):No Rust toolchain, no git, no SSH keys needed at runtime.
Expected result
Prerequisites
Notes
hero_zero:devandhero_zero:<version>