OPAM is a source-based package manager for OCaml. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
(very new to ocaml, but pretty frustrated) Hey guys, I'm trying to run a simple ocaml file through docker. I'm super confused why this is seemingly so complicated. I've tried
FROM ocaml/opam2:latest
RUN opam depext -i core ssl tls cohttp-lwt cohttp-lwt-unix
COPY test_smoke.ml ./
RUN ocamlc -o test_smoke test_smoke.ml && ./test_smoke
but there is no ocamlc in the image? This was surprising to me. What' would be the equivalent of e.g.
FROM rust:latest
COPY . .
RUN cargo run
for rust
intended to be used from within cygwin