Environment Builder OCaml

OCaml Official
Download as Docker image from:
This image was imported from: ocaml/opam:alpine-3.6_ocaml-4.06.0


This article builds the default OCaml and Reason environment. It is based on the official OCaml docker image, with a few extra packages.

eval `opam config env`
sudo apk add m4
opam remote remove default
opam remote add default https://opam.ocaml.org

opam install "ocamlfind>=1.7.2" "reason>=3.0.4" "ocaml-compiler-libs>=10.0.0" "yojson>=1.3.3" -y

cd /

Was reason successfully insalled?

opam info reason
let a = 1 + 1;;
© 2018 Nextjournal GmbH