Dockerfile_windowsWindows specific Dockerfile utility functions
val run_cmd : ( 'a, unit, string, Dockerfile.t ) Stdlib.format4 -> 'arun_cmd fmt will execute cmd /S /C fmt.
val run_powershell : ( 'a, unit, string, Dockerfile.t ) Stdlib.format4 -> 'arun_powershell fmt will execute powershell -Command "fmt".
val run_vc :
arch:Ocaml_version.arch ->
( 'a, unit, string, Dockerfile.t ) Stdlib.format4 ->
'arun_vc ~arch fmt will execute run fmt with Visual Compiler for ~arch loaded in the environment.
val run_ocaml_env :
string list ->
( 'a, unit, string, Dockerfile.t ) Stdlib.format4 ->
'arun_ocaml_env args fmt will execute fmt in the evironment loaded by ocaml-env exec with args.
val sanitize_reg_path : unit -> Dockerfile.tsanitize_reg_path () adds the command necessary to remove a trailing backaslash from the Path value stored in the registry and must be called before any further manipulation of this variable is done by Dockerfile.
val install_vc_redist : ?vs_version:string -> unit -> Dockerfile.tInstall Microsoft Visual C++ Redistributable.
val install_visual_studio_build_tools :
?vs_version:string ->
string list ->
Dockerfile.tInstall Visual Studio Build Tools components.
val ocaml_for_windows_package_exn :
switch:Ocaml_version.t ->
port:[ `Mingw | `Msvc ] ->
arch:Ocaml_version.arch ->
string * stringocaml_for_windows_variant ~port ~arch returns the (package_name, package_version) of the OCaml compiler package in OCaml for Windows, if applicable.
val cleanup : unit -> Dockerfile.tCleanup caches.
module Cygwin : sig ... endRules for Cygwin-based installation
module Winget : sig ... endRules for winget installation.