package dockerfile

  1. Overview
  2. Docs
Dockerfile eDSL in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

dockerfile-8.0.0.tbz
sha256=e97e49621489fde147dd5ebc9e8c7f742f2b9d9df766391063a2f65e5ade5d01
sha512=645abd32db85b7e1867b258cce0aa1702d0b78a08949040e3be2b9af50593591ddfd1fb09a7569746901d0b5534eac1d58130f9be5cbab001048f73605b8d0fc

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.

Tags

org:mirage org:ocamllabs

Published: 27 Jul 2022

README

dockerfile — Dockerfile eDSL and distribution support

v8.0.0

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 http://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.

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)

  1. fmt >= "0.8.7"
  2. sexplib
  3. ppx_sexp_conv >= "v0.9.0"
  4. dune >= "2.0.0"
  5. ocaml >= "4.02.3"

Dev Dependencies

None

Used by (5)

  1. current_docker < "0.6"
  2. current_examples >= "0.4"
  3. dockerfile-opam < "6.1.1" | = "8.0.0"
  4. obuilder < "0.2"
  5. obuilder-spec < "0.2"

Conflicts

None

OCaml

Innovation. Community. Security.