15 lines
575 B
JSON
15 lines
575 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://platform.example/templates/dockerfile-build/v1",
|
|
"title": "dockerfile-build@v1",
|
|
"description": "Build recipe, independent of ServiceSpec; infrastructure is gateway-owned",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["strategy", "contextDir", "dockerfile"],
|
|
"properties": {
|
|
"strategy": {"const": "dockerfile"},
|
|
"contextDir": {"type": "string", "minLength": 1, "maxLength": 256},
|
|
"dockerfile": {"type": "string", "minLength": 1, "maxLength": 256}
|
|
}
|
|
}
|