We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75ea14 commit 50d1654Copy full SHA for 50d1654
1 file changed
mkctr.go
@@ -170,13 +170,9 @@ func canRunLocal(p v1.Platform) bool {
170
if p.OS != "linux" {
171
return false
172
}
173
- if runtime.GOOS == "linux" {
+ if runtime.GOOS == "linux" || runtime.GOOS == "darwin" {
174
return p.Architecture == runtime.GOARCH
175
176
- if runtime.GOOS == "darwin" {
177
- // macOS can run amd64 linux binaries in docker.
178
- return p.Architecture == "amd64"
179
- }
180
181
182
0 commit comments