package dockerfile-opam
Library
Module
Module type
Parameter
Class
Class type
Rules for Cygwin-based installation.
val default : cyg
The default Cygwin root, mirror, and arguments.
val install_cygwin :
?cyg:cyg ->
?msvs_tools:bool ->
?aslr_off:bool ->
?extra:string list ->
unit ->
Dockerfile.t
Install Cygwin with CygSymPathy and optionally msvs-tools, and extra
Cygwin packages (first in a separate Docker image). Sets the CYGWIN=winsymlinks:native
environment variable.
val setup : ?cyg:cyg -> ?from:string -> unit -> Dockerfile.t
Setup Cygwin workdir, optionally copied from the from
Docker image.
val install : ?cyg:cyg -> string list -> Dockerfile.t
Install the supplied Cygwin package list. The packages should be comma-separated.
val update : ?cyg:cyg -> unit -> Dockerfile.t
Update Cygwin packages.
cygwin_packages ?extra ()
is the list of the base development tools for the OCaml Cygwin port.
mingw_packages
is the list of base development tools for the Caml mingw port.
msvc_packages
is the list of base development tools for the Caml MSVC port.
val install_ocaml_for_windows :
?cyg:cyg ->
?version:string ->
unit ->
string list * Dockerfile.t
install_ocaml_for_windows ()
returns the list of Cygwin packages dependencies, and the installation instructions for OCaml for Windows.
val run_sh : ?cyg:cyg -> ('a, unit, string, Dockerfile.t) Stdlib.format4 -> 'a
run_sh ?cyg fmt
will execute in the Cygwin root \bin\bash.exe --login -c "fmt"
.
val run_sh_ocaml_env :
?cyg:cyg ->
string list ->
('a, unit, string, Dockerfile.t) Stdlib.format4 ->
'a
run_cmd_ocaml_env args fmt
will execute fmt
in the environment loaded by ocaml-env cygwin exec
with args
.
module Git : sig ... end
Rules for Git.