Skip to content

Commit 124e3c1

Browse files
committed
hook command is required
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
1 parent 84b7d5a commit 124e3c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

schema/compose-spec.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,8 @@
837837
"environment": {"$ref": "#/definitions/list_or_dict"}
838838
},
839839
"additionalProperties": false,
840-
"patternProperties": {"^x-": {}}
840+
"patternProperties": {"^x-": {}},
841+
"required": ["command"]
841842
},
842843

843844
"env_file": {

0 commit comments

Comments
 (0)