Skip to content

Commit

Permalink
Update dockerfile doc to 8.2.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA committed Dec 17, 2024
1 parent 984e35c commit c518f34
Show file tree
Hide file tree
Showing 62 changed files with 1,210 additions and 321 deletions.
Empty file.
26 changes: 13 additions & 13 deletions doc/dockerfile/dockerfile-cmd/Dockerfile_cmd/Docker/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Docker (dockerfile-cmd.Dockerfile_cmd.Docker)</title><link rel="stylesheet" href="../../../_odoc_support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../_odoc_support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">dockerfile-cmd</a> &#x00BB; <a href="../index.html">Dockerfile_cmd</a> &#x00BB; Docker</nav><header class="odoc-preamble"><h1>Module <code><span>Dockerfile_cmd.Docker</span></code></h1><p>Docker command invocation</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-bin"><a href="#val-bin" class="anchor"></a><code><span><span class="keyword">val</span> bin : <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-info"><a href="#val-info" class="anchor"></a><code><span><span class="keyword">val</span> info : <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-exists"><a href="#val-exists" class="anchor"></a><code><span><span class="keyword">val</span> exists : <span>unit <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-build_cmd"><a href="#val-build_cmd" class="anchor"></a><code><span><span class="keyword">val</span> build_cmd :
<span>?squash:bool <span class="arrow">&#45;&gt;</span></span>
<span>?pull:bool <span class="arrow">&#45;&gt;</span></span>
<span>?cache:bool <span class="arrow">&#45;&gt;</span></span>
<span>?dockerfile:<span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span>?tag:string <span class="arrow">&#45;&gt;</span></span>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Docker (dockerfile-cmd.Dockerfile_cmd.Docker)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">dockerfile-cmd</a> &#x00BB; <a href="../index.html">Dockerfile_cmd</a> &#x00BB; Docker</nav><header class="odoc-preamble"><h1>Module <code><span>Dockerfile_cmd.Docker</span></code></h1><p>Docker command invocation</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-bin"><a href="#val-bin" class="anchor"></a><code><span><span class="keyword">val</span> bin : <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-info"><a href="#val-info" class="anchor"></a><code><span><span class="keyword">val</span> info : <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-exists"><a href="#val-exists" class="anchor"></a><code><span><span class="keyword">val</span> exists : <span>unit <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-build_cmd"><a href="#val-build_cmd" class="anchor"></a><code><span><span class="keyword">val</span> build_cmd :
<span><span class="optlabel">?squash</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?pull</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?cache</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?dockerfile</span>:<span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?tag</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-volume_cmd"><a href="#val-volume_cmd" class="anchor"></a><code><span><span class="keyword">val</span> volume_cmd : <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-push_cmd"><a href="#val-push_cmd" class="anchor"></a><code><span><span class="keyword">val</span> push_cmd : <span>string <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-build_id"><a href="#val-build_id" class="anchor"></a><code><span><span class="keyword">val</span> build_id : <span><span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span> <span><span>(string, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-run_cmd"><a href="#val-run_cmd" class="anchor"></a><code><span><span class="keyword">val</span> run_cmd :
<span>?mounts:<span><span>(string * string)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span>?volumes:<span><span>(string * string)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span>?rm:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?mounts</span>:<span><span>(string * string)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?volumes</span>:<span><span>(string * string)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?rm</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>string <span class="arrow">&#45;&gt;</span></span>
<span><span class="xref-unresolved">Bos</span>.Cmd.t <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-manifest_push_cli"><a href="#val-manifest_push_cli" class="anchor"></a><code><span><span class="keyword">val</span> manifest_push_cli :
<span>platforms:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
<span>template:string <span class="arrow">&#45;&gt;</span></span>
<span>target:string <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-manifest_push_file"><a href="#val-manifest_push_file" class="anchor"></a><code><span><span class="keyword">val</span> manifest_push_file : <span><span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div></div></body></html>
<span><span class="label">platforms</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">template</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">target</span>:string <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-manifest_push_file"><a href="#val-manifest_push_file" class="anchor"></a><code><span><span class="keyword">val</span> manifest_push_file : <span><span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div></div></body></html>
16 changes: 8 additions & 8 deletions doc/dockerfile/dockerfile-cmd/Dockerfile_cmd/Gen/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Gen (dockerfile-cmd.Dockerfile_cmd.Gen)</title><link rel="stylesheet" href="../../../_odoc_support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../_odoc_support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">dockerfile-cmd</a> &#x00BB; <a href="../index.html">Dockerfile_cmd</a> &#x00BB; Gen</nav><header class="odoc-preamble"><h1>Module <code><span>Dockerfile_cmd.Gen</span></code></h1><p>Utility functions to generate Dockerfiles.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-generate_dockerfile"><a href="#val-generate_dockerfile" class="anchor"></a><code><span><span class="keyword">val</span> generate_dockerfile :
<span>?fname:string <span class="arrow">&#45;&gt;</span></span>
<span>?crunch:bool <span class="arrow">&#45;&gt;</span></span>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Gen (dockerfile-cmd.Dockerfile_cmd.Gen)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">dockerfile-cmd</a> &#x00BB; <a href="../index.html">Dockerfile_cmd</a> &#x00BB; Gen</nav><header class="odoc-preamble"><h1>Module <code><span>Dockerfile_cmd.Gen</span></code></h1><p>Utility functions to generate Dockerfiles.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-generate_dockerfile"><a href="#val-generate_dockerfile" class="anchor"></a><code><span><span class="keyword">val</span> generate_dockerfile :
<span><span class="optlabel">?fname</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?crunch</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span><a href="../../../dockerfile/Dockerfile/index.html#type-t">Dockerfile.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span>(unit, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>generate_dockerfile output_dir docker</code> will output Dockerfile inside the <code>output_dir</code> subdirectory.</p><p>The <code>crunch</code> argument defaults to true and applies the <a href="../../../dockerfile/Dockerfile/index.html#val-crunch"><code>Dockerfile.crunch</code></a> optimisation to reduce the number of layers; disable it if you really want more layers.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-generate_dockerfiles"><a href="#val-generate_dockerfiles" class="anchor"></a><code><span><span class="keyword">val</span> generate_dockerfiles :
<span>?crunch:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?crunch</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span><span><span>(string * <a href="../../../dockerfile/Dockerfile/index.html#type-t">Dockerfile.t</a>)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span>(unit, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>generate_dockerfiles output_dir (name * docker)</code> will output a list of Dockerfiles inside the <code>output_dir/</code> subdirectory, with each Dockerfile named as <code>Dockerfile.&lt;release&gt;</code>.</p><p>The <code>crunch</code> argument defaults to true and applies the <a href="../../../dockerfile/Dockerfile/index.html#val-crunch"><code>Dockerfile.crunch</code></a> optimisation to reduce the number of layers; disable it if you really want more layers.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-generate_dockerfiles_in_directories"><a href="#val-generate_dockerfiles_in_directories" class="anchor"></a><code><span><span class="keyword">val</span> generate_dockerfiles_in_directories :
<span>?crunch:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?crunch</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span><span><span>(string * <a href="../../../dockerfile/Dockerfile/index.html#type-t">Dockerfile.t</a>)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span>(unit, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>generate_dockerfiles_in_directories output_dir (name * docker)</code> will output a list of Dockerfiles inside the <code>output_dir/name</code> subdirectory, with each directory containing the Dockerfile specified by <code>docker</code>.</p><p>The <code>crunch</code> argument defaults to true and applies the <a href="../../../dockerfile/Dockerfile/index.html#val-crunch"><code>Dockerfile.crunch</code></a> optimisation to reduce the number of layers; disable it if you really want more layers.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-generate_dockerfiles_in_git_branches"><a href="#val-generate_dockerfiles_in_git_branches" class="anchor"></a><code><span><span class="keyword">val</span> generate_dockerfiles_in_git_branches :
<span>?readme:string <span class="arrow">&#45;&gt;</span></span>
<span>?crunch:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?readme</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?crunch</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span><span><span>(string * <a href="../../../dockerfile/Dockerfile/index.html#type-t">Dockerfile.t</a>)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span>(unit, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>generate_dockerfiles_in_git_branches output_dir (name * docker)</code> will output a set of git branches in the <code>output_dir</code> Git repository. Each branch will be named <code>name</code> and contain a single <code>docker</code> file. The contents of these branches will be reset, so this should be only be used on an <code>output_dir</code> that is a dedicated Git repository for this purpose. If <code>readme</code> is specified, the contents will be written to <code>README.md</code> in that branch.</p><p>The <code>crunch</code> argument defaults to true and applies the <a href="../../../dockerfile/Dockerfile/index.html#val-crunch"><code>Dockerfile.crunch</code></a> optimisation to reduce the number of layers; disable it if you really want more layers.</p></div></div></div></body></html>
<span><span>(unit, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>generate_dockerfiles_in_git_branches output_dir (name * docker)</code> will output a set of git branches in the <code>output_dir</code> Git repository. Each branch will be named <code>name</code> and contain a single <code>docker</code> file. The contents of these branches will be reset, so this should be only be used on an <code>output_dir</code> that is a dedicated Git repository for this purpose. If <code>readme</code> is specified, the contents will be written to <code>README.md</code> in that branch.</p><p>The <code>crunch</code> argument defaults to true and applies the <a href="../../../dockerfile/Dockerfile/index.html#val-crunch"><code>Dockerfile.crunch</code></a> optimisation to reduce the number of layers; disable it if you really want more layers.</p></div></div></div></body></html>
8 changes: 4 additions & 4 deletions doc/dockerfile/dockerfile-cmd/Dockerfile_cmd/Opam/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Opam (dockerfile-cmd.Dockerfile_cmd.Opam)</title><link rel="stylesheet" href="../../../_odoc_support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../_odoc_support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">dockerfile-cmd</a> &#x00BB; <a href="../index.html">Dockerfile_cmd</a> &#x00BB; Opam</nav><header class="odoc-preamble"><h1>Module <code><span>Dockerfile_cmd.Opam</span></code></h1><p>Opam2 command invocation</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-bin"><a href="#val-bin" class="anchor"></a><code><span><span class="keyword">val</span> bin : <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-opam_env"><a href="#val-opam_env" class="anchor"></a><code><span><span class="keyword">val</span> opam_env :
<span>root:<span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span>jobs:int <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span>string <span class="xref-unresolved">Astring</span>.String.map</span>, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Opam (dockerfile-cmd.Dockerfile_cmd.Opam)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">dockerfile-cmd</a> &#x00BB; <a href="../index.html">Dockerfile_cmd</a> &#x00BB; Opam</nav><header class="odoc-preamble"><h1>Module <code><span>Dockerfile_cmd.Opam</span></code></h1><p>Opam2 command invocation</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-bin"><a href="#val-bin" class="anchor"></a><code><span><span class="keyword">val</span> bin : <span class="xref-unresolved">Bos</span>.Cmd.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-opam_env"><a href="#val-opam_env" class="anchor"></a><code><span><span class="keyword">val</span> opam_env :
<span><span class="label">root</span>:<span class="xref-unresolved">Fpath</span>.t <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">jobs</span>:int <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span>string <span class="xref-unresolved">Astring</span>.String.map</span>, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div></div></body></html>
Loading

0 comments on commit c518f34

Please sign in to comment.