dune-pkg image variant#357
Draft
frejsoya wants to merge 1 commit into
Draft
Conversation
frejsoya
force-pushed
the
dune-pkg-dev-image
branch
3 times, most recently
from
June 20, 2026 14:13
e0a9899 to
b9b1c1a
Compare
Split the pipeline into independent opam and dune-pkg paths over shared helpers (Distro_util). Add an ocaml-base variant for `dune pkg` builds: ships dune + a baked relocatable compiler, no opam/switch/repo. Scoped to x86_64, apk/apt distros, OCaml >= 5.5. See docs/adr/0001, 0002. On tier-1 distros also build compiler variants (+flambda, +afl, +no-flat-float-array) via the upstream ocaml-options-only-* packages, mirroring how the opam images install variants.
frejsoya
force-pushed
the
dune-pkg-dev-image
branch
from
June 20, 2026 14:13
b9b1c1a to
112cb13
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OCaml base Docker image with plain Dune, no opam or repo, but a prebuilt cached compiler. (5.5+). Much smaller in size, and fits a workflow where repo has a precomputed lock.
Pipeline split into independent
Pipeline_opam/Pipeline_duneand some shared bits, mostly for a quick an easy poc.Unclear if this is a good path; it seems a bit silly that you cannot, in a simple way, reuse an opam built with OCaml with Dune.