package dockerfile-opam

  1. Overview
  2. Docs

Rules for winget installation.

val is_supported : 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 install_from_release : ?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, optionally 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: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.