|
|
@@ -84,7 +84,9 @@
|
|
|
"dockerfile": {"type": "string"},
|
|
|
"args": {"$ref": "#/definitions/list_or_dict"},
|
|
|
"labels": {"$ref": "#/definitions/list_or_dict"},
|
|
|
- "cache_from": {"$ref": "#/definitions/list_of_strings"}
|
|
|
+ "cache_from": {"$ref": "#/definitions/list_of_strings"},
|
|
|
+ "network": {"type": "string"},
|
|
|
+ "target": {"type": "string"}
|
|
|
},
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
@@ -351,7 +353,8 @@
|
|
|
"properties": {
|
|
|
"limits": {"$ref": "#/definitions/resource"},
|
|
|
"reservations": {"$ref": "#/definitions/resource"}
|
|
|
- }
|
|
|
+ },
|
|
|
+ "additionalProperties": false
|
|
|
},
|
|
|
"restart_policy": {
|
|
|
"type": "object",
|