Open dkirrane opened 1 year ago
Same here. Any solution? Apple M1
I'm facing the same issue with an Intel i9, Docker Desktop and Skaffold 2.9.0. Did you figure out a solution in the meantime?
Same here, Intel AMD, skaffold 2.10.0 using newrelic buildpack
I think it's to do with https://github.com/moby/moby/pull/46495, so downgrading to docker version < 25 worked for me
Same issue with Skaffold 2.12.0
(where Pack CLI 0.35.0
works fine). Here's a workaround that's not terrible. Push the buildpack image in question to your own container registry—basically mirror it—and modify the manifest to include architecture information. This manifest-tool (currently 2.1.7
) works like a charm.
image: YOUR.azurecr.io/upstream/paketobuildpacks/python:latest
tags: ["2", "2.19"]
manifests:
- image: YOUR.azurecr.io/upstream/paketobuildpacks/python:latest
platform:
architecture: amd64
os: linux
manifest-tool push from-spec spec.yaml
. Now Skaffold works.From manifest-tool docs:
manifest-tool is a command line utility used to view or push multi-platform container image references located in an OCIv1 or Docker v2.2 compatible container registry...purpose of combining an array of architecture and platform specific container image manifests under a single reference. This allows a container runtime to select the appropriate index entry that matches the local node's architecture and platform.
Expected behavior
Actual behavior
Information
Steps to reproduce the behavior
skaffold build
85c088e68808f61b2486c39a7e12a0033995970c97e95408069 was found but does not match the specified platform: wanted linux/amd64, actual: linux
Note I do not face the same issue when I use Pack CLI directly