package dockerfile
Typed interface for constructing Docker container descriptions
Install
Dune Dependency
Authors
Maintainers
Sources
dockerfile-2.2.0.tbz
sha256=a587313d984ccf1301e36feb2bfad3236b6f2c521ba5ffbb0287253f9ff63868
md5=e2eb9c25255441b7c3919c6c9aead044
doc/dockerfile.opam/Dockerfile_linux/Apk/index.html
Module Dockerfile_linux.Apk
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 alpine-sdk. 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 : ?add_custom_apk:bool -> string -> Dockerfile.t
Install the system OCaml packages via Apk. The version
should be either 3.3
or 3.4
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>