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. argv : string list;
  3. hostname : string;
  4. user : Obuilder_spec.user;
  5. env : env;
  6. mounts : Mount.t list;
  7. network : string list;
  8. 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 -> t