Add build_args support in buildconfig

now args provided under build in docker-compose file can be available in buildconfig.
it solves #406
Added unit test and functional test
solves #445
Separated key:"value" pairs by spaces
This commit is contained in:
Suraj Narwade
2017-05-16 12:19:00 +05:30
parent b877014380
commit 8fc262bd99
10 changed files with 385 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
version: "2"
services:
foo:
build:
context: "./build"
args:
NAME: web
command: "sleep 3600"
foo1:
build:
context: "./build"
args:
- NAME=web
- foo
command: "sleep 3600"