forked from LaconicNetwork/kompose
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:
@@ -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"
|
||||
Reference in New Issue
Block a user