package dockerfile-opam
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Rules for Apk-based distributions such as Alpine Linux
val update : Dockerfile.t
update
will run apk update && apk upgrade
non-interactively.
val install : ('a, unit, string, Dockerfile.t) format4 -> 'a
install fmt
will apk add
the packages specified by the fmt
format string.
val 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
.
val 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
.
val install_system_ocaml : Dockerfile.t
Install the system OCaml packages via Apk
val add_repository : ?tag:string -> string -> Dockerfile.t
add_repository ~tag url
adds "@tag url" to "/etc/apk/repositories".
val add_repositories : (string option * string) list -> Dockerfile.t
add_repositories repos
adds a list of "@tag url" to "/etc/apk/repositories".
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>