2015-12-09 19:00:06 +01:00
|
|
|
---
|
|
|
|
$schema: http://json-schema.org/draft-04/schema#
|
|
|
|
title: Docker manifest
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
provider:
|
|
|
|
type: object
|
|
|
|
properties:
|
2015-12-13 15:36:00 +01:00
|
|
|
labels:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
# https://github.com/projectatomic/ContainerApplicationGenericLabels
|
|
|
|
distribution-scope:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- private
|
|
|
|
- authoritative-source-only
|
|
|
|
- restricted
|
|
|
|
- public
|
|
|
|
patternProperties:
|
|
|
|
^.+$: {type: string}
|
|
|
|
dockerfile:
|
2016-06-05 17:19:27 +02:00
|
|
|
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)'
|
2015-12-09 19:00:06 +01:00
|
|
|
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]
|