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
run pack build hello-world-go --builder gcr.io/buildpacks/builder:v1 --path ./. It will build successfully.
run this (below). Note that the image runs successfully on an M1 Mac even though the platform is very different.
➜ go-hello-world git:(master) ✗ docker run hello-world-go
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2021/03/04 21:34:30 Server listening on port :8080
run docker image inspect hello-world-go to verify. Output:
I have tried this as well, but got a different result. For me it does tries to run/build a x86 image, but it's really slow. So I never got an image that I can run.
Repro steps:
pack build hello-world-go --builder gcr.io/buildpacks/builder:v1 --path ./
. It will build successfully.docker image inspect hello-world-go
to verify. Output:The text was updated successfully, but these errors were encountered: