Update compose-file-v2.md

This commit is contained in:
paigehargrave 2019-03-17 12:44:15 -04:00 committed by GitHub
parent 0934b5baa7
commit e7fc879f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -197,9 +197,9 @@ or a list:
- buildno=1 - buildno=1
- gitcommithash=cdc3b19 - gitcommithash=cdc3b19
> **Note**: if you specify `ARG` in your Dockerfile befor the `FROM` instruction, > **Note**: In your Dockerfile, if you specify `ARG` before the `FROM` instruction,
> then the `ARG` will not be available in the build instructions under `FROM`. > `ARG` is not available in the build instructions under `FROM`.
> if you need a argument in both places, simply place it again under the `FROM` instruction. > If you need an argument in both places, alsoo specify it under the `FROM` instruction.
You can omit the value when specifying a build argument, in which case its value You can omit the value when specifying a build argument, in which case its value
at build time is the value in the environment where Compose is running. at build time is the value in the environment where Compose is running.