Dockerfile_cmdCommand invocation library to help with Docker builds.
This module primarily exposes utility functions to glue together Docker-based scripts for (e.g.) continuous integration systems like the ocaml-ci. The interface is fairly domain-specific and does not expose all the functionality of the underlying tools. Feel free to contribute more functions if you need them.
val sexp_of_cmd_log : cmd_log -> Ppx_sexp_conv_lib.Sexp.tval cmd_log_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> cmd_logval run_log :
?ok_to_fail:bool ->
?env:Bos.OS.Env.t ->
Fpath.t ->
string ->
Bos.Cmd.t ->
(unit, [> Rresult.R.msg ]) resultrunlog log_dir name cmd will run cmd with label name and log the results in <log_dir>/<name>.sxp.
module Docker : sig ... endDocker command invocation
module Opam : sig ... endOpam2 command invocation
val setup_logs : unit -> unit Cmdliner.Term.tsetup_logs () initialises a Logs environment.