Closed j-windsor closed 2 years ago
investigated offline with @j-windsor, the issue seems to be due to not having docker configured with binfmt_misc
extensions. AI should be to update documentation here to highlight this requirement.
For the Cloud Build case, it sounds like we are going to add a new field under googleCloudBuild
: binfmtImage
to control what image is run to setup qemu before the build step occurs, if any. It will be set to nil initially, and skaffold will add an actionable error message to suggest setting the field when a build fails with an error that looks like it could be fixed with this.
Expected behavior
Build completes
Actual behavior
Build Fails with:
Information
Steps to reproduce the behavior
git clone https://github.com/GoogleCloudPlatform/cloud-code-samples
nodejs/nodejs-hello-world
minikube start
skaffold run --profile cloudbuild --default-repo gcr.io/my-repo
Full Logs