Skip to content

Never rebuild the runtime to lay new code - #41

Merged
daniel-rossier merged 1 commit into
mainfrom
code-tier-no-runtime
Nov 27, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
code-tier-no-runtime

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

The code tier built the harness target, which needs the runtime stage; with a pruned build cache that reinstalled every package. The harness image is now the runtime with the code laid by Dockerfile.code; only the harness tier builds the runtime. Verified on reds-ml-2: build-tiered.sh code takes 4 s.

The code tier built the harness target, which needs the runtime stage;
with the build cache pruned that reinstalled every package. The harness
image is now the runtime with the code laid by Dockerfile.code, like
the base and the project, and only the harness tier builds the runtime.
@daniel-rossier
daniel-rossier merged commit 76ce3d9 into main Nov 27, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the code-tier-no-runtime branch November 27, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant