From e7fc879f08535bb97bc329d41da035c4254e1a38 Mon Sep 17 00:00:00 2001 From: paigehargrave Date: Sun, 17 Mar 2019 12:44:15 -0400 Subject: [PATCH] Update compose-file-v2.md --- compose/compose-file/compose-file-v2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compose/compose-file/compose-file-v2.md b/compose/compose-file/compose-file-v2.md index 7ca18815c4..d7902d591d 100644 --- a/compose/compose-file/compose-file-v2.md +++ b/compose/compose-file/compose-file-v2.md @@ -197,9 +197,9 @@ or a list: - buildno=1 - gitcommithash=cdc3b19 -> **Note**: if you specify `ARG` in your Dockerfile befor the `FROM` instruction, -> 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. +> **Note**: In your Dockerfile, if you specify `ARG` before the `FROM` instruction, +> `ARG` is not available in the build instructions under `FROM`. +> 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 at build time is the value in the environment where Compose is running.