package obuilder-spec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val dockerfile_of_spec : buildkit:bool -> Obuilder_spec__.Spec.stage -> Dockerfile.t

dockerfile_of_spec x produces a Dockerfile that aims to be equivalent to x.

However, note that:

  • In "(copy (excludes ...) ...)" the excludes part is ignored. You will need to ensure you have a suitable ".dockerignore" file.
  • The conversion is not robust against malicious input, as the escaping rules are unclear.
  • parameter buildkit

    If true, the extended BuildKit syntax is used to support caches. If false, caches are ignored.