package dockerfile-opam

  1. Overview
  2. Docs

Rules for winget installation.

val is_supported : Dockerfile_distro.win_all -> bool

Winget 1.0.11692 discontinued support for versions older than Windows 10 1809. Older versions of Winget have bugs, don't use them.

val build_from_source : ?arch:Ocaml_version.arch -> ?win10_revision:Dockerfile_distro.win10_lcu -> ?version:Dockerfile_distro.win_all -> ?winget_version:string -> ?vs_version:string -> unit -> Dockerfile.t

Build winget from source (in a separate Docker image). The optional winget_version specifies a Git reference.

val install_from_release : ?win10_revision:Dockerfile_distro.win10_lcu -> ?version:Dockerfile_distro.win_all -> ?winget_version:string -> unit -> Dockerfile.t

Install winget from a released build (first in a separate Docker image). The optional winget_version specifies a Git tag.

val setup : ?from:string -> unit -> Dockerfile.t

Setup winget, copied from the from Docker image. Disable winget telemetry.

val install : string list -> Dockerfile.t

install packages will install the supplied winget package list.

val dev_packages : ?version:Dockerfile_distro.win_all -> ?extra:string list -> unit -> Dockerfile.t

dev_packages ?version ?extra () will install the base development tools. Extra packages may also be optionally supplied via extra. Using ?version may change the set of installed packages.

module Git : sig ... end

Rules for Git

OCaml

Innovation. Community. Security.