package dockerfile
-
dockerfile
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Rules for Apt-based distributions
val update : t
update
will run apt-get update && apt-get upgrade
non-interactively.
install fmt
will apt-get install
the packages specified by the fmt
format string.
val add_user : ?sudo:bool -> string -> 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
.
val dev_packages : ?extra:string -> unit -> t
dev_packages ?extra ()
will install the base development tools and sudo
, passwd
and git
and X11. Extra packages may also be optionally supplied via extra
.