Skip to content

Commit

Permalink
fix docker#1549: docker-build man page doesn't reflect new rules for …
Browse files Browse the repository at this point in the history
…Dockerfile path
  • Loading branch information
zvier committed Dec 9, 2018
1 parent a0fe333 commit 1f84c95
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions man/docker-build.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ set as the **URL**, the repository is cloned locally and then sent as the contex

# OPTIONS
**-f**, **--file**=*PATH/Dockerfile*
Path to the Dockerfile to use. If the path is a relative path and you are
building from a local directory, then the path must be relative to that
directory. If you are building from a remote URL pointing to either a
tarball or a Git repository, then the path must be relative to the root of
the remote context. In all cases, the file must be within the build context.
The default is *Dockerfile*.
Path to the Dockerfile to use. If you are building from a local directory, this
option means the Dockerfile path is considered relative to the current directory on
your local filesystem. Otherwise, if you are building from a remote URL pointing to
either a tarball or a Git repository, then the path must be relative to the root of
the remote context. In all cases, the default is *Dockerfile* within the build context.

**--squash**=*true*|*false*
**Experimental Only**
Expand Down

0 comments on commit 1f84c95

Please sign in to comment.