package obuilder

  1. Overview
  2. Docs

Configuration for a single sandboxed build step. This is passed by the builder to the sandbox.

type env = (string * string) list
val env_of_sexp : Sexplib0.Sexp.t -> env
val sexp_of_env : env -> Sexplib0.Sexp.t
module Mount : sig ... end
module Secret : sig ... end
type t = {
  1. cwd : string;
  2. entrypoint : string option;
  3. argv : string list;
  4. hostname : string;
  5. user : Obuilder_spec.user;
  6. env : env;
  7. mounts : Mount.t list;
  8. network : string list;
  9. mount_secrets : Secret.t list;
}
val v : cwd:string -> argv:string list -> hostname:string -> user:Obuilder_spec.user -> env:env -> mounts:Mount.t list -> network:string list -> mount_secrets:Secret.t list -> ?entrypoint:string -> unit -> t
OCaml

Innovation. Community. Security.