package dockerfile-opam

  1. Overview
  2. Docs

Module Linux.RPMSource

Rules for RPM-based distributions

Sourceval update : Dockerfile.t

update will run yum update -y

Sourceval install : ('a, unit, string, Dockerfile.t) format4 -> 'a

install fmt will run yum install on the supplied package list.

Sourceval groupinstall : int -> ('a, unit, string, Dockerfile.t) format4 -> 'a

groupinstall ver fmt will run yum groupinstall or yum group install on the supplied package list. ver selects the appropriate syntax

Sourceval add_user : ?uid:int -> ?gid:int -> ?sudo:bool -> string -> Dockerfile.t

add_user username will install a new user with name username and a locked password. If sudo is true then root access with no password will also be configured. The default value for sudo is false.

Sourceval dev_packages : ?extra:string -> unit -> Dockerfile.t

dev_packages ?extra () will install the base development tools and sudo, passwd and git. Extra packages may also be optionally supplied via extra.

Sourceval ocaml_depexts : Ocaml_version.t -> string option

ocaml_depexts v returns packages that are required by the OCaml distribution at version v.

Sourceval install_system_ocaml : Dockerfile.t

Install the system OCaml packages via Yum

OCaml

Innovation. Community. Security.