Skip to content
This repository was archived by the owner on Aug 22, 2020. It is now read-only.

Commit f3844f0

Browse files
committed
Add "mips64le" in SupportedArches
Looking at https://golang.org/doc/install/source#environment under "GOARCH", this is the accepted Go architecture value for the 64-bit little endian MIPS platform.
1 parent e326c47 commit f3844f0

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

architecture/oci-platform.go

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package architecture
22

3-
// https://github.com/opencontainers/image-spec/blob/v1.0.0-rc6/image-index.md#image-index-property-descriptions
3+
// https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md#image-index-property-descriptions
44
// see "platform" (under "manifests")
55
type OCIPlatform struct {
66
OS string `json:"os"`
@@ -12,14 +12,15 @@ type OCIPlatform struct {
1212
}
1313

1414
var SupportedArches = map[string]OCIPlatform{
15-
"amd64": {OS: "linux", Architecture: "amd64"},
16-
"arm32v5": {OS: "linux", Architecture: "arm", Variant: "v5"},
17-
"arm32v6": {OS: "linux", Architecture: "arm", Variant: "v6"},
18-
"arm32v7": {OS: "linux", Architecture: "arm", Variant: "v7"},
19-
"arm64v8": {OS: "linux", Architecture: "arm64", Variant: "v8"},
20-
"i386": {OS: "linux", Architecture: "386"},
21-
"ppc64le": {OS: "linux", Architecture: "ppc64le"},
22-
"s390x": {OS: "linux", Architecture: "s390x"},
15+
"amd64": {OS: "linux", Architecture: "amd64"},
16+
"arm32v5": {OS: "linux", Architecture: "arm", Variant: "v5"},
17+
"arm32v6": {OS: "linux", Architecture: "arm", Variant: "v6"},
18+
"arm32v7": {OS: "linux", Architecture: "arm", Variant: "v7"},
19+
"arm64v8": {OS: "linux", Architecture: "arm64", Variant: "v8"},
20+
"i386": {OS: "linux", Architecture: "386"},
21+
"mips64le": {OS: "linux", Architecture: "mips64le"},
22+
"ppc64le": {OS: "linux", Architecture: "ppc64le"},
23+
"s390x": {OS: "linux", Architecture: "s390x"},
2324

2425
"windows-amd64": {OS: "windows", Architecture: "amd64"},
2526
}

0 commit comments

Comments
 (0)