You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should help clarify the fields that are related to the build phase (and the fields that are not).
Backwards compatibility
On the first release both build and dockerfile would still be allowed at the top level of the service definition. A dockerfile at the top level would print a deprecation warning.
On the following release dockerfile at the top level of the service definition would be removed, and it must be under the build section. For trivial cases, a config of build: path/to/context would still be supported.
Activity
thaJeztah commentedon Oct 10, 2015
I like this approach, sgtm. For the deprecation of the top-level fields; perhaps Compose should add a deprecation policy similar to Engine; https://github.com/docker/docker/blob/master/docs/misc/deprecated.md. This gives users time to adapt, and a clear notice when a feature will be removed,
blaggacao commentedon Nov 10, 2015
+1 can't wait... 💃
mosop commentedon Nov 15, 2015
👍
marcellodesales commentedon Nov 17, 2015
👍
lechen26 commentedon Nov 30, 2015
is this option was added to docker-compose? the support for build-args?
Silex commentedon Dec 3, 2015
👍
ducva commentedon Dec 7, 2015
👍
garrettheel commentedon Dec 14, 2015
Working on this in #2540
levivm commentedon Dec 24, 2015
+1
dnephin commentedon Jan 14, 2016
Merged in #2653, carried from #2540
marcellodesales commentedon Jan 15, 2016
Thanks everyone! 👍 Can't wait for this release!
ericm24 commentedon Jan 18, 2016
+1 Really need --build-arg capability with docker-compose!! Will be MOST GLAD when it is added and released!
marcellodesales commentedon Jan 20, 2016
@ericm24 +1 :) Can't wait too! :)