Module Dockerfile_linux.Zypper
Rules for Zypper-based distributions such as OpenSUSE
val update : Dockerfile.t
update
will runzypper update
non-interactively.
val install : ('a, unit, string, Dockerfile.t) Pervasives.format4 ‑> 'a
install fmt
willzypper update && zypper install
the packages specified by thefmt
format string.
val add_user : ?uid:int ‑> ?gid:int ‑> ?sudo:bool ‑> string ‑> Dockerfile.t
add_user username
will install a new user with nameusername
and a locked password. Ifsudo
is true then root access with no password will also be configured. The default value forsudo
isfalse
.
val dev_packages : ?extra:string ‑> unit ‑> Dockerfile.t
dev_packages ?extra ()
will install the base development tools andsudo
,passwd
andgit
. Extra packages may also be optionally supplied viaextra
.
val install_system_ocaml : Dockerfile.t
Install the system OCaml packages via
zypper