mirror of https://github.com/docker/cli.git
Merge pull request #308 from ProgVal/patch-1
Fix typo (proceed -> precede)
This commit is contained in:
commit
534c3d285b
|
@ -138,7 +138,7 @@ be UPPERCASE to distinguish them from arguments more easily.
|
||||||
Docker runs instructions in a `Dockerfile` in order. A `Dockerfile` **must
|
Docker runs instructions in a `Dockerfile` in order. A `Dockerfile` **must
|
||||||
start with a \`FROM\` instruction**. The `FROM` instruction specifies the [*Base
|
start with a \`FROM\` instruction**. The `FROM` instruction specifies the [*Base
|
||||||
Image*](glossary.md#base-image) from which you are building. `FROM` may only be
|
Image*](glossary.md#base-image) from which you are building. `FROM` may only be
|
||||||
proceeded by one or more `ARG` instructions, which declare arguments that are used
|
preceded by one or more `ARG` instructions, which declare arguments that are used
|
||||||
in `FROM` lines in the `Dockerfile`.
|
in `FROM` lines in the `Dockerfile`.
|
||||||
|
|
||||||
Docker treats lines that *begin* with `#` as a comment, unless the line is
|
Docker treats lines that *begin* with `#` as a comment, unless the line is
|
||||||
|
@ -499,7 +499,7 @@ valid `Dockerfile` must start with a `FROM` instruction. The image can be
|
||||||
any valid image – it is especially easy to start by **pulling an image** from
|
any valid image – it is especially easy to start by **pulling an image** from
|
||||||
the [*Public Repositories*](https://docs.docker.com/engine/tutorials/dockerrepos/).
|
the [*Public Repositories*](https://docs.docker.com/engine/tutorials/dockerrepos/).
|
||||||
|
|
||||||
- `ARG` is the only instruction that may proceed `FROM` in the `Dockerfile`.
|
- `ARG` is the only instruction that may precede `FROM` in the `Dockerfile`.
|
||||||
See [Understand how ARG and FROM interact](#understand-how-arg-and-from-interact).
|
See [Understand how ARG and FROM interact](#understand-how-arg-and-from-interact).
|
||||||
|
|
||||||
- `FROM` can appear multiple times within a single `Dockerfile` to
|
- `FROM` can appear multiple times within a single `Dockerfile` to
|
||||||
|
|
Loading…
Reference in New Issue