package dockerfile
Typed interface for constructing Docker container descriptions
Install
Dune Dependency
Authors
Maintainers
Sources
dockerfile-2.2.1.tbz
sha256=2fa15cad381c194ee076c3833f89d318418eb96aeed98d07f2a85fc4828c0dec
md5=1c476efd74bd1eb6d2c28edd7a7cd815
doc/dockerfile.opam/Dockerfile_linux/Apt/index.html
Module Dockerfile_linux.Apt
Rules for Apt-based distributions
val update : Dockerfile.t
update
will run apt-get update && apt-get upgrade
non-interactively.
val install : ('a, unit, string, Dockerfile.t) format4 -> 'a
install fmt
will apt-get update && apt-get install
the packages specified by the fmt
format string.
val add_user : ?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 dev_packages : ?extra:string -> unit -> Dockerfile.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
.
val install_system_ocaml : Dockerfile.t
Install the system OCaml packages via apt-get
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>