Build and run are two images, from one recipe #7

Merged
jschoubben merged 1 commits from feat/build-and-run-are-two-images into main 2026-09-14 00:02:36 +00:00
1 Commits
Author SHA1 Message Date
jschoubben 62e2aa7708 Build and run are two images, from one recipe
A module's recipe starts from this image and invokes the compiler out of it, so
the compiler had to be here. The same image was also what every module ran in,
so every running container on every machine carried a compiler it would never
invoke: 23 of the 28 MB of libraries. An earlier attempt to prune the build
tools produced a smaller image that nothing could be built on, and the comment
defending their return made a workaround look like a decision.

One recipe, because the two must agree about the operating system, the language
version and the library, and two files drift.
2026-09-14 01:57:05 +02:00