Obuilder_spec.Docker
val dockerfile_of_spec : buildkit:bool -> os:[ `Unix | `Windows ] -> Obuilder_spec__.Spec.t -> string
dockerfile_of_spec ~buildkit ~os x produces a Dockerfile that aims to be equivalent to x.
dockerfile_of_spec ~buildkit ~os x
x
However, note that:
If true, the extended BuildKit syntax is used to support caches. If false, caches are ignored. BuildKit syntax isn't supported on Windows.
Use UNIX or Windows syntax and idiosyncrasies.