Skip to content

Commit 8159c82

Browse files
authored
Merge pull request #949 from thaJeztah/embed_platform
Embed Platform in Image
2 parents 3a7f492 + ca2e500 commit 8159c82

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

specs-go/v1/config.go

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,8 @@ type Image struct {
9595
// Author defines the name and/or email address of the person or entity which created and is responsible for maintaining the image.
9696
Author string `json:"author,omitempty"`
9797

98-
// Architecture is the CPU architecture which the binaries in this image are built to run on.
99-
Architecture string `json:"architecture"`
100-
101-
// Variant is the variant of the specified CPU architecture which image binaries are intended to run on.
102-
Variant string `json:"variant,omitempty"`
103-
104-
// OS is the name of the operating system which the image is built to run on.
105-
OS string `json:"os"`
106-
107-
// OSVersion is an optional field specifying the operating system
108-
// version, for example on Windows `10.0.14393.1066`.
109-
OSVersion string `json:"os.version,omitempty"`
110-
111-
// OSFeatures is an optional field specifying an array of strings,
112-
// each listing a required OS feature (for example on Windows `win32k`).
113-
OSFeatures []string `json:"os.features,omitempty"`
98+
// Platform describes the platform which the image in the manifest runs on.
99+
Platform
114100

115101
// Config defines the execution parameters which should be used as a base when running a container using the image.
116102
Config ImageConfig `json:"config,omitempty"`

0 commit comments

Comments
 (0)