Docker container for OCaml package build
1.2K
Create build script
Create a script for build.
#!/usr/bin/env bash
eval `opam config env`
opam install -y cohttp
Execute build script on docker container
Specify the -v option, mount the directory on the host side, and execute the script.
docker run -v `pwd`:/home/develop/project holyshared/ocaml:latest ./[build script]
Content type
Image
Digest
Size
423.5 MB
Last updated
about 7 years ago
docker pull holyshared/ocaml