package dockerfile

  1. Overview
  2. Docs
Dockerfile eDSL in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

dockerfile-v6.6.1.tbz
sha256=92c6405cc25b49787ad23792ba00905b47d3773e9f01c7635876c4eef88aa6a2
sha512=a8217f307c0c03ba8f7eb95da7c979f64badfd74755a446b233cb03585ca6f5a59ee392314f985151043741182fef411458b0ad63649a51985389bdc2fc0cf5e

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: 25 Jul 2020

README

dockerfile — Dockerfile eDSL and distribution support

v6.6.1

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 >= "2.0.0"
  5. ocaml >= "4.02.3"

Dev Dependencies

None

Used by (4)

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

Conflicts

None