The docker base image builder has been reconfigured to push the images to the ocaml/opam
repository on Docker Hub.
If you were previously using the ocurrent/opam
repository, you should update to the new location. The ocurrent/opam
repository will not get any further updates.
The images provide many combinations of distribution, OCaml version, architecture and flags. e.g. to get an environment with OCaml 4.11 installed on Debian 10:
docker run --rm -it ocaml/opam:debian-10-ocaml-4.11
Or to try the 4.12 pre-release, compiled with AFL fuzzing support, you’d use ocaml/opam:debian-10-ocaml-4.12-afl
.
(the full set of builds can be seen at the service’s page at https://base-images.ocamllabs.io/)