diff options
author | Mark Gallagher <mark@fts.scot> | 2020-11-13 01:50:59 +0000 |
---|---|---|
committer | Mark Gallagher <mark@fts.scot> | 2020-11-13 01:56:37 +0000 |
commit | 3ebfa4b089448968d168593c32e3544f2e6e3c5b (patch) | |
tree | 1bb4ac89a6db2aa1c46fbfc5111036efadb03636 /compose/config | |
parent | 843621dfb8ad36ec9301045117630cebac1d917c (diff) |
Remove duplicate values check for build.cache_from
The `docker` command accepts duplicate values, so there is no benefit to
performing this check.
Fixes #7342.
Signed-off-by: Mark Gallagher <mark@fts.scot>
Diffstat (limited to 'compose/config')
-rw-r--r-- | compose/config/compose_spec.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compose/config/compose_spec.json b/compose/config/compose_spec.json index 26825674..38cc27fd 100644 --- a/compose/config/compose_spec.json +++ b/compose/config/compose_spec.json @@ -87,7 +87,7 @@ "dockerfile": {"type": "string"}, "args": {"$ref": "#/definitions/list_or_dict"}, "labels": {"$ref": "#/definitions/list_or_dict"}, - "cache_from": {"$ref": "#/definitions/list_of_strings"}, + "cache_from": {"type": "array", "items": {"type": "string"}}, "network": {"type": "string"}, "target": {"type": "string"}, "shm_size": {"type": ["integer", "string"]}, |