package dockerfile

  1. Overview
  2. Docs
Dockerfile eDSL in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

dockerfile-v6.3.0.tbz
sha256=56d37a41dd05f4dd8a82d195a60d610d24667b71fa0b763d24453e70b311bb26
sha512=98b314110f0661bb14bef71e5bf04d5995de97821dac596ec4a439e15ef9517a0ce40dec10b91f3c21fd4d593bde01c37f0ce6fa998acaecfaf6b991d24538b9

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: 11 Aug 2019

README

dockerfile — Dockerfile eDSL and distribution support

v6.3.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
  2. sexplib
  3. ppx_sexp_conv >= "v0.9.0"
  4. dune
  5. ocaml >= "4.02.3"

Dev Dependencies

None

Used by (3)

  1. current_docker < "0.6"
  2. dockerfile-opam < "6.1.1" | = "6.3.0"
  3. obuilder < "0.2"

Conflicts

None