package obuilder
Module Obuilder.Docker_sandboxSource
Sandbox builds using Docker.
include S.SANDBOX
Source
val run :
cancelled:unit Lwt.t ->
?stdin:Os.unix_fd ->
log:Build_log.t ->
t ->
Config.t ->
string ->
(unit, [ `Cancelled | `Msg of string ]) Lwt_result.trun ~cancelled t config dir runs the operation config in a sandbox with root filesystem dir.
Source
val manifest_from_build :
t ->
base:S.id ->
exclude:string list ->
string list ->
string ->
Obuilder_spec.user ->
(Manifest.t list, [> `Msg of string ]) Lwt_result.tSource
val copy_from_context :
t ->
cancelled:unit Lwt.t ->
log:Build_log.t ->
[< `Copy_item of Manifest.t * string
| `Copy_items of Manifest.t list * string ] ->
user:Obuilder_spec.user ->
src_dir:string ->
?dst_dir:string ->
string ->
(unit, [ `Cancelled | `Msg of string ]) result Lwt.tSource
val copy_from_build :
t ->
cancelled:'a Lwt.t ->
log:Build_log.t ->
[< `Copy_item of Manifest.t * string
| `Copy_items of Manifest.t list * string ] ->
user:Obuilder_spec.user ->
workdir:string ->
?dst_dir:string ->
from_id:S.id ->
S.id ->
(unit, [ `Cancelled | `Msg of string ]) result Lwt.tGet the Windows ServerCore image based on the same version as the host.
Derive Docker command-line client parameters from an OBuilder configuration.
The type of sandbox configurations
cmdliner is used for command-line interfaces to generate the necessary flags and parameters to setup a specific sandbox's configuration.