[ocaml-platform] new repo proposal: ocaml/ocaml-docker-infra

Anil Madhavapeddy anil at recoil.org
Mon Oct 3 10:07:15 BST 2016

Dear all,

I've been maintaining Docker OCaml/OPAM images for the past year, and they are accruing an increasing numbers of users, primarily via Travis CI tests. I am therefore preparing to document and release the Docker container images and scripts to build them regularly off the ocaml.org infrastructure. The image repositories consist of:

- OCaml base images: https://hub.docker.com/r/ocaml/ocaml/
- OPAM: https://hub.docker.com/r/ocaml/opam/ (a matrix of distributions and OCaml versions)
- OPAMdev: https://hub.docker.com/r/ocaml/opam-dev/ (a snapshot of OPAM development versions, with the same distribution matrix as above).

There is currently quite a bit of infrastructure around this; each refresh of the repository will trigger off builds to construct binary images of all the distributions above, which in turn can be used by CI infrastructure such as Travis to do multi-distro builds.  The same scripts can be used against your own registries to build custom images.

The scripts to do this are all open source but currently in my personal GitHub at

I'm proposing to move the ocaml-docker-infra repository under the ocaml/ GitHub organisation, so that it can sit alongside https://github.com/ocaml/ocaml-ci-scripts.  The license of the scripts is ISC. Please let me know if anyone has any questions or concerns.


More information about the Platform mailing list