Public | Automated Build

Last pushed: 3 days ago
Short Description
Docker container for OCaml package build
Full Description



  • User in container - develop
  • Workking directory - /home/develop/project
  • OCaml compiler 4.06.1
  • OPAM 1.2.2

Basis usage

  1. Create build script

    Create a script for build.

     #!/usr/bin/env bash
     eval `opam config env`
     opam install -y cohttp
  2. 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]
Docker Pull Command
Source Repository