Skip to content

Commit b6d5a8c

Browse files
committed
Change platform ref from runtime-spec
Signed-off-by: Qiang Huang <[email protected]>
1 parent d207df4 commit b6d5a8c

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a
103103
- **architecture** *string*, REQUIRED
104104

105105
The CPU architecture which the binaries in this image are built to run on.
106-
Configurations SHOULD use, and implementations SHOULD understand, values [supported by runtime-spec's `platform.arch`][runtime-platform].
106+
Configurations SHOULD use, and implementations SHOULD understand, values listed in the Go Language document for [`GOARCH`][go-environment].
107107

108108
- **os** *string*, REQUIRED
109109

110110
The name of the operating system which the image is built to run on.
111-
Configurations SHOULD use, and implementations SHOULD understand, values [supported by runtime-spec's `platform.os`][runtime-platform].
111+
Configurations SHOULD use, and implementations SHOULD understand, values listed in the Go Language document for [`GOOS`][go-environment].
112112

113113
- **config** *object*, OPTIONAL
114114

@@ -271,5 +271,5 @@ Here is an example image configuration JSON document:
271271
```
272272

273273
[rfc3339-s5.6]: https://tools.ietf.org/html/rfc3339#section-5.6
274-
[runtime-platform]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc3/config.md#platform
274+
[go-environment]: https://golang.org/doc/install/source#environment
275275
[tar-split]: https://github.com/vbatts/tar-split

conversion.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ A compliant configuration converter MUST extract the following fields verbatim t
3030

3131
| Image Field | Runtime Field | Notes |
3232
| ------------------- | --------------- | ----- |
33-
| `architecture` | `platform.arch` | |
34-
| `os` | `platform.os` | |
3533
| `Config.WorkingDir` | `process.cwd` | |
3634
| `Config.Env` | `process.env` | 1 |
3735
| `Config.Entrypoint` | `process.args` | 2 |

image-index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
4646
- **`architecture`** *string*
4747

4848
This REQUIRED property specifies the CPU architecture.
49-
Image indexes SHOULD use, and implementations SHOULD understand, values [supported by runtime-spec's `platform.arch`][runtime-platform2].
49+
Image indexes SHOULD use, and implementations SHOULD understand, values listed in the Go Language document for [`GOARCH`][go-environment2].
5050

5151
- **`os`** *string*
5252

5353
This REQUIRED property specifies the operating system.
54-
Image indexes SHOULD use, and implementations SHOULD understand, values [supported by runtime-spec's `platform.os`][runtime-platform2].
54+
Image indexes SHOULD use, and implementations SHOULD understand, values listed in the Go Language document for [`GOOS`][go-environment2].
5555

5656
- **`os.version`** *string*
5757

@@ -120,5 +120,5 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
120120
}
121121
```
122122

123-
[runtime-platform2]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc3/config.md#platform
123+
[go-environment2]: https://golang.org/doc/install/source#environment
124124
[matrix]: media-types.md#compatibility-matrix

0 commit comments

Comments
 (0)