You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* os.version: speculated Windows-specific convention from the example
* os.features: still unclear. should be clearly standardized in post-v1.0.0
* variant: speculated arm-specific convention from the example
* features: speculated x86-specific convention from the example, and put little modification
Signed-off-by: Akihiro Suda <[email protected]>
Copy file name to clipboardExpand all lines: image-index.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,19 +55,29 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
55
55
56
56
-**`os.version`***string*
57
57
58
-
This OPTIONAL property specifies the operating system version, for example `10.0.10586`.
58
+
This OPTIONAL property specifies the operating system version.
59
+
Image indexes SHOULD use, and implementations SHOULD understand the following convention:
60
+
-`windows`: `sprintf("%d.%d.%d", dwMajorVersion, dwMinorVersion, dwBuildNumber)` with the fields of the `OSVERSIONINFOEX` structure returned by `GetVersionEx()`. e.g., `10.0.10586`.
61
+
If an operating system is not listed here, it SHOULD be submitted to this specification for standardization.
59
62
60
63
-**`os.features`***array of strings*
61
64
62
65
This OPTIONAL property specifies an array of strings, each specifying a mandatory OS feature (for example on Windows `win32k`).
66
+
A convention for other features SHOULD be submitted to this specification for standardization.
63
67
64
68
-**`variant`***string*
65
69
66
-
This OPTIONAL property specifies the variant of the CPU, for example `armv6l` to specify a particular CPU variant of the ARM CPU.
70
+
This OPTIONAL property specifies the variant of the CPU.
71
+
Image indexes SHOULD use, and implementations SHOULD understand the following convention:
72
+
-`arm` and `arm64`: `machine` field of the Linux `utsname` structure returned by `uname(2)`. e.g., `armv6l`.
73
+
If an architecture is not listed here, it SHOULD be submitted to this specification for standardization.
67
74
68
75
-**`features`***array of strings*
69
76
70
-
This OPTIONAL property specifies an array of strings, each specifying a mandatory CPU feature (for example `sse4` or `aes`).
77
+
This OPTIONAL property specifies an array of strings, each specifying a mandatory CPU feature.
78
+
Image indexes SHOULD use, and implementations SHOULD understand the following convention:
79
+
-`386` and `amd64`: `flags` entries of the Linux `/proc/cpuinfo`. e.g., `sse4_2` or `aes`.
80
+
If an architecture is not listed here, it SHOULD be submitted to this specification for standardization.
71
81
72
82
-**`annotations`***string-string map*
73
83
@@ -100,7 +110,7 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
0 commit comments