mirror of https://github.com/docker/docs.git
parent
f314f2cd51
commit
d913946246
|
@ -198,7 +198,7 @@ or a list:
|
||||||
- gitcommithash=cdc3b19
|
- gitcommithash=cdc3b19
|
||||||
|
|
||||||
> **Note**: if you specify `ARG` in your Dockerfile befor the `FROM` instruction
|
> **Note**: if you specify `ARG` in your Dockerfile befor the `FROM` instruction
|
||||||
> then the `ARG` will not be available in the buld instructions under `FROM`
|
> then the `ARG` will not be 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 a argument in both places simply place it again 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
|
||||||
|
|
Loading…
Reference in New Issue