Browse code

bump image-spec to 372ad780f63454fbbbbcc7cf80e5b90245c13e13

this commit matches what's used in SwarmKit

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2017/07/12 12:52:17
Showing 4 changed files
... ...
@@ -62,7 +62,7 @@ google.golang.org/grpc v1.3.0
62 62
 
63 63
 # When updating, also update RUNC_COMMIT in hack/dockerfile/binaries-commits accordingly
64 64
 github.com/opencontainers/runc 2d41c047c83e09a6d61d464906feb2a2f3c52aa4 https://github.com/docker/runc
65
-github.com/opencontainers/image-spec f03dbe35d449c54915d235f1a3cf8f585a24babe
65
+github.com/opencontainers/image-spec 372ad780f63454fbbbbcc7cf80e5b90245c13e13
66 66
 github.com/opencontainers/runtime-spec d42f1eb741e6361e858d83fc75aa6893b66292c4 # specs
67 67
 
68 68
 github.com/seccomp/libseccomp-golang 32f571b70023028bd57d9288c20efbcb237f3ce0
69 69
new file mode 100644
... ...
@@ -0,0 +1,56 @@
0
+// Copyright 2016 The Linux Foundation
1
+//
2
+// Licensed under the Apache License, Version 2.0 (the "License");
3
+// you may not use this file except in compliance with the License.
4
+// You may obtain a copy of the License at
5
+//
6
+//     http://www.apache.org/licenses/LICENSE-2.0
7
+//
8
+// Unless required by applicable law or agreed to in writing, software
9
+// distributed under the License is distributed on an "AS IS" BASIS,
10
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+// See the License for the specific language governing permissions and
12
+// limitations under the License.
13
+
14
+package v1
15
+
16
+const (
17
+	// AnnotationCreated is the annotation key for the date and time on which the image was built (date-time string as defined by RFC 3339).
18
+	AnnotationCreated = "org.opencontainers.image.created"
19
+
20
+	// AnnotationAuthors is the annotation key for the contact details of the people or organization responsible for the image (freeform string).
21
+	AnnotationAuthors = "org.opencontainers.image.authors"
22
+
23
+	// AnnotationURL is the annotation key for the URL to find more information on the image.
24
+	AnnotationURL = "org.opencontainers.image.url"
25
+
26
+	// AnnotationDocumentation is the annotation key for the URL to get documentation on the image.
27
+	AnnotationDocumentation = "org.opencontainers.image.documentation"
28
+
29
+	// AnnotationSource is the annotation key for the URL to get source code for building the image.
30
+	AnnotationSource = "org.opencontainers.image.source"
31
+
32
+	// AnnotationVersion is the annotation key for the version of the packaged software.
33
+	// The version MAY match a label or tag in the source code repository.
34
+	// The version MAY be Semantic versioning-compatible.
35
+	AnnotationVersion = "org.opencontainers.image.version"
36
+
37
+	// AnnotationRevision is the annotation key for the source control revision identifier for the packaged software.
38
+	AnnotationRevision = "org.opencontainers.image.revision"
39
+
40
+	// AnnotationVendor is the annotation key for the name of the distributing entity, organization or individual.
41
+	AnnotationVendor = "org.opencontainers.image.vendor"
42
+
43
+	// AnnotationLicenses is the annotation key for the license(s) under which contained software is distributed as an SPDX License Expression.
44
+	AnnotationLicenses = "org.opencontainers.image.licenses"
45
+
46
+	// AnnotationRefName is the annotation key for the name of the reference for a target.
47
+	// SHOULD only be considered valid when on descriptors on `index.json` within image layout.
48
+	AnnotationRefName = "org.opencontainers.image.ref.name"
49
+
50
+	// AnnotationTitle is the annotation key for the human-readable title of the image.
51
+	AnnotationTitle = "org.opencontainers.image.title"
52
+
53
+	// AnnotationDescription is the annotation key for the human-readable description of the software packaged in the image.
54
+	AnnotationDescription = "org.opencontainers.image.description"
55
+)
... ...
@@ -51,7 +51,7 @@ type Platform struct {
51 51
 	OS string `json:"os"`
52 52
 
53 53
 	// OSVersion is an optional field specifying the operating system
54
-	// version, for example `10.0.10586`.
54
+	// version, for example on Windows `10.0.14393.1066`.
55 55
 	OSVersion string `json:"os.version,omitempty"`
56 56
 
57 57
 	// OSFeatures is an optional field specifying an array of strings,
... ...
@@ -59,10 +59,6 @@ type Platform struct {
59 59
 	OSFeatures []string `json:"os.features,omitempty"`
60 60
 
61 61
 	// Variant is an optional field specifying a variant of the CPU, for
62
-	// example `ppc64le` to specify a little-endian version of a PowerPC CPU.
62
+	// example `v7` to specify ARMv7 when architecture is `arm`.
63 63
 	Variant string `json:"variant,omitempty"`
64
-
65
-	// Features is an optional field specifying an array of strings, each
66
-	// listing a required CPU feature (for example `sse4` or `aes`).
67
-	Features []string `json:"features,omitempty"`
68 64
 }
... ...
@@ -25,7 +25,7 @@ const (
25 25
 	VersionPatch = 0
26 26
 
27 27
 	// VersionDev indicates development branch. Releases will be empty string.
28
-	VersionDev = "-rc5-dev"
28
+	VersionDev = "-rc6-dev"
29 29
 )
30 30
 
31 31
 // Version is the specification version that the package types support.