提交 1a03d6b5 编写于 作者: C Christof Marti

Schema update (microsoft/vscode-remote-release#46)

上级 edb6387b
......@@ -132,7 +132,7 @@
}
}
},
"dockerFileContainer": {
"dockerFileAndContext": {
"type": "object",
"properties": {
"dockerFile": {
......@@ -148,6 +148,64 @@
"dockerFile"
]
},
"dockerFileContainer": {
"oneOf": [
{
"type": "object",
"properties": {
"build": {
"type": "object",
"description": "Docker build-related options.",
"allOf": [
{
"$ref": "#/definitions/dockerFileAndContext"
},
{
"$ref": "#/definitions/buildOptions"
}
]
}
},
"required": [
"build"
]
},
{
"allOf": [
{
"$ref": "#/definitions/dockerFileAndContext"
},
{
"type": "object",
"properties": {
"build": {
"description": "Docker build-related options.",
"$ref": "#/definitions/buildOptions"
}
}
}
]
}
]
},
"buildOptions": {
"type": "object",
"properties": {
"target": {
"type": "string",
"description": "Target stage in a multi-stage build."
},
"args": {
"type": "object",
"additionalProperties": {
"type": [
"string"
]
},
"description": "Build arguments."
}
}
},
"imageContainer": {
"type": "object",
"properties": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册