package dockerfile
Install
Dune Dependency
Authors
Maintainers
Sources
md5=57dd2803ecbe82ea9f1e3773056048ea
sha512=b1272c855eca5df085374d49cc5a92a8ae17a9a75f9f265b7c6b76383da0e71f8cdf6eb3e3f86b1049c921d147cd82a7711867266f709b4009846c137ddfb4db
Description
This library provides a typed OCaml interface to generating Dockerfiles programmatically without having to resort to lots of shell scripting and awk/sed-style assembly.
README
dockerfile — Dockerfile eDSL and distribution support
%%VERSION%%
Docker is a container manager that can build images automatically by reading the instructions from a Dockerfile
. A Dockerfile is a text document that contains all the commands you would normally execute manually in order to build a Docker image. By calling docker build
from your terminal, you can have Docker build your image step-by-step, executing the instructions successively. Read more at https://docker.com.
This library provides a typed OCaml interface to generating Dockerfiles programmatically without having to resort to lots of shell scripting and awk/sed-style assembly.
ocaml-dockerfile is distributed under the ISC license.
- HTML Documentation: https://www.ocurrent.org/ocaml-dockerfile/;
- Source: https://github.com/ocurrent/ocaml-dockerfile;
- Issues: https://github.com/ocurrent/ocaml-dockerfile/issues;
- Email: anil@recoil.org.
Installation
dockerfile can be installed with opam
:
opam install dockerfile
opam install dockerfile-opam
opam install dockerfile-cmd
The dockerfile-opam
package includes modules for OPAM- and Linux-specific Dockerfile generation, such as common distributions.
If you don't use opam
consult the opam
file for build instructions.
Dependencies (5)
- sexplib
-
ppx_sexp_conv
>= "v0.9.0"
-
fmt
>= "0.8.7"
-
ocaml
>= "4.08"
-
dune
>= "3.0"
Used by (4)
-
current_docker
< "0.6.2"
- current_examples
-
dockerfile-opam
< "8.2.8"
-
obuilder-spec
< "0.2"