forked from andsens/bootstrap-vz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest-schema.yml
46 lines (46 loc) · 1.14 KB
/
manifest-schema.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
$schema: http://json-schema.org/draft-04/schema#
title: Docker manifest
type: object
properties:
provider:
type: object
properties:
labels:
type: object
properties:
# https://github.com/projectatomic/ContainerApplicationGenericLabels
distribution-scope:
type: string
enum:
- private
- authoritative-source-only
- restricted
- public
patternProperties:
^.+$: {type: string}
dockerfile:
type: array
items:
# https://github.com/turtlebender/docker/blob/6e2662b3bad319679e17fe25d410f246820ab0e9/builder/job.go#L27
type: string
pattern: '^(ENTRYPOINT|CMD|USER|WORKDIR|ENV|VOLUME|EXPOSE|ONBUILD|LABEL|MAINTAINER)'
system:
type: object
properties:
bootloader:
type: string
enum: [none]
volume:
type: object
properties:
backing:
type: string
enum: [folder]
partitions:
type: object
properties:
type:
type: string
enum: [none]
required: [backing]