package dockerfile-cmd

  1. Overview
  2. Docs
Dockerfile eDSL - generation support

Install

Dune Dependency

Authors

Maintainers

Sources

dockerfile-v7.1.0.tbz
sha256=471ee833f127d091d61280ed7cb29dd55d0dc63b2cb03b7b767f9f658214eda4
sha512=ae4146e1747a82f28095e6e02a74ca8f645530cbe571953208ab15645733a77aac321d83bd62b5a9c8e71b73a98cf1ee9d3eb13b206c32a88d68ae017112b82f

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.

This sublibrary has support functions for generating arrays of Dockerfiles programmatically.

Tags

org:mirage org:ocamllabs

Published: 26 Feb 2021

README

dockerfile — Dockerfile eDSL and distribution support

v7.1.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 (9)

  1. ppx_sexp_conv >= "v0.9.0"
  2. bos
  3. logs
  4. fmt
  5. rresult < "0.7.0"
  6. cmdliner
  7. dockerfile-opam = version
  8. dune >= "2.0.0"
  9. ocaml >= "4.02.3"

Dev Dependencies

None

Used by (1)

  1. obi

Conflicts

None