bootstrap-vz/bootstrapvz/providers/docker/manifest-schema.yml
2016-06-05 17:19:27 +02:00

46 lines
1.1 KiB
YAML

---
$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]