Ver código fonte

docs: add missing cache-from man docs

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Tonis Tiigi 8 anos atrás
pai
commit
33054be31b
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      man/docker-build.1.md

+ 4 - 0
man/docker-build.1.md

@@ -8,6 +8,7 @@ docker-build - Build an image from a Dockerfile
 **docker build**
 **docker build**
 [**--add-host**[=*[]*]]
 [**--add-host**[=*[]*]]
 [**--build-arg**[=*[]*]]
 [**--build-arg**[=*[]*]]
+[**--cache-from**[=*[]*]]
 [**--cpu-shares**[=*0*]]
 [**--cpu-shares**[=*0*]]
 [**--cgroup-parent**[=*CGROUP-PARENT*]]
 [**--cgroup-parent**[=*CGROUP-PARENT*]]
 [**--help**]
 [**--help**]
@@ -94,6 +95,9 @@ option can be set multiple times.
    or for variable expansion in other Dockerfile instructions. This is not meant
    or for variable expansion in other Dockerfile instructions. This is not meant
    for passing secret values. [Read more about the buildargs instruction](https://docs.docker.com/engine/reference/builder/#arg)
    for passing secret values. [Read more about the buildargs instruction](https://docs.docker.com/engine/reference/builder/#arg)
 
 
+**--cache-from**=""
+   Set image that will be used as a build cache source.
+
 **--force-rm**=*true*|*false*
 **--force-rm**=*true*|*false*
    Always remove intermediate containers, even after unsuccessful builds. The default is *false*.
    Always remove intermediate containers, even after unsuccessful builds. The default is *false*.