mirror of https://github.com/docker/compose.git
Add cache_from to build opts
Signed-off-by: Joey Payne <jyapayne@gmail.com>
This commit is contained in:
parent
89c028f3f2
commit
5b6191e653
|
@ -71,7 +71,8 @@
|
|||
"properties": {
|
||||
"context": {"type": "string"},
|
||||
"dockerfile": {"type": "string"},
|
||||
"args": {"$ref": "#/definitions/list_or_dict"}
|
||||
"args": {"$ref": "#/definitions/list_or_dict"},
|
||||
"cache_from": {"type": "#/definitions/list_of_strings"}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
|
|
|
@ -802,6 +802,7 @@ class Service(object):
|
|||
nocache=no_cache,
|
||||
dockerfile=build_opts.get('dockerfile', None),
|
||||
buildargs=build_opts.get('args', None),
|
||||
cache_from=build_opts.get('cache_from', None),
|
||||
)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue