The images only contain:
ocamlNo switches are pre-created, but you are encouraged to use the provided system compiler to avoid re-building OCaml.
The default user is named ocaml, has sudo rights, and opam's external
dependency handling is enabled non-interactively.
You should not need to opam update, use the moving tags (see below).
Recommended CI script to get some project ready to build:
cd PROJECT_SRC # under /home/ocaml/
opam switch create . ocaml-system --deps --locked
opam exec -- [build and test commands]
This will avoid recompiling OCaml, provided you use the matching image version. You can further optimise by caching the _opam directory after the switch create command if your .opam / .opam.locked files are unchanged.
X.XX-YEAR-MM-DD are stable and have the latest patch release of ocaml X.XX at said date.X.XX point to the latest patch release of this version of OCaml X.XX.nn ; they get updated for new patch versions, releases of opam, and repository updates.X.XX.X, as long as they are the latest patch version of that minor release, are also updated to have the latest opam release and updates of opam-repository.latestGeneration and contents are pretty straight-forward. Dockerfile and scripts can be found at https://gitlab.ocamlpro.com/OCamlPro/ocaml-docker-images
Content type
Image
Digest
sha256:d59095c30…
Size
270.4 MB
Last updated
7 months ago
docker pull ocamlpro/ocaml