Skip to content

Commit

Permalink
Merge pull request #651 from AkihiroSuda/platform-os-version
Browse files Browse the repository at this point in the history
image-index: define platform.os.version on Windows
  • Loading branch information
stevvooe authored May 23, 2017
2 parents dd5a61d + bc58ab2 commit 4f04bc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion image-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ For the media type(s) that this document is compatible with, see the [matrix][ma

- **`os.version`** *string*

This OPTIONAL property specifies the operating system version, for example `10.0.10586`.
This OPTIONAL property specifies the version of the operating system targeted by the referenced blob.
Implementations MAY refuse to use manifests where `os.version` is not known to work with the host OS version.
Valid values are implementation-defined. e.g. `10.0.14393.1066` on `windows`.

- **`os.features`** *array of strings*

Expand Down
2 changes: 1 addition & 1 deletion specs-go/v1/descriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type Platform struct {
OS string `json:"os"`

// OSVersion is an optional field specifying the operating system
// version, for example `10.0.10586`.
// version, for example on Windows `10.0.14393.1066`.
OSVersion string `json:"os.version,omitempty"`

// OSFeatures is an optional field specifying an array of strings,
Expand Down

0 comments on commit 4f04bc4

Please sign in to comment.