Skip to content

Commit

Permalink
schema: rebase for opencontainers#329
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Batts <[email protected]>
  • Loading branch information
vbatts committed Mar 9, 2016
1 parent 5881cc1 commit a1a95ce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
12 changes: 0 additions & 12 deletions schema/schema-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
"id": "https://opencontainers.org/schema/bundle/linux",
"type": "object",
"properties": {
"apparmorProfile": {
"id": "https://opencontainers.org/schema/bundle/linux/apparmorProfile",
"type": "string"
},
"capabilities": {
"id": "https://opencontainers.org/schema/bundle/linux/capabilities",
"$ref": "defs.json#/definitions/ArrayOfStrings"
},
"devices": {
"id": "https://opencontainers.org/schema/bundle/linux/devices",
"oneOf": [
Expand Down Expand Up @@ -285,10 +277,6 @@
},
"type": "object"
},
"selinuxProcessLabel": {
"id": "https://opencontainers.org/schema/bundle/linux/selinuxProcessLabel",
"type": "string"
},
"sysctl": {
"id": "https://opencontainers.org/schema/bundle/linux/sysctl",
"oneOf" : [
Expand Down
18 changes: 17 additions & 1 deletion schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"type": "object",
"required": [
"cwd",
"user"
"args"
],
"properties": {
"args": {
Expand Down Expand Up @@ -103,6 +103,22 @@
"$ref": "defs.json#/definitions/ArrayOfGIDs"
}
}
},
"capabilities": {
"id": "https://opencontainers.org/schema/bundle/process/linux/capabilities",
"$ref": "defs.json#/definitions/ArrayOfStrings"
},
"apparmorProfile": {
"id": "https://opencontainers.org/schema/bundle/process/linux/apparmorProfile",
"type": "string"
},
"selinuxProcessLabel": {
"id": "https://opencontainers.org/schema/bundle/process/linux/selinuxProcessLabel",
"type": "string"
},
"noNewPrivileges": {
"id": "https://opencontainers.org/schema/bundle/process/linux/noNewPrivileges",
"type": "boolean"
}
}
},
Expand Down

0 comments on commit a1a95ce

Please sign in to comment.