package dockerfile

All checked builds pass
  1. Overview
  2. Docs

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

Added to opam-repository:

README

dockerfile — Dockerfile eDSL and distribution support

%%VERSION%%

OCaml-CI Build Status

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.

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. sexplib0
  2. ppx_sexp_conv >= "v0.9.0"
  3. fmt >= "0.8.7"
  4. ocaml >= "4.08"
  5. dune >= "3.20"

Dev Dependencies (2)

  1. odoc with-doc
  2. alcotest >= "1.9.1" & with-test

Optional Dependencies

None

Used by (4)

  1. current_docker < "0.6.2"
  2. current_examples
  3. dockerfile-opam < "8.2.7" | >= "8.4.8"
  4. obuilder-spec < "0.2"

Conflicts (2)

  1. rresult < "0.7.0"
  2. result < "1.5"

Build status

Results of building dockerfile with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
8.4.8 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure