Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform mismatch during pack build / pack builder create #1968

Closed
robdimsdale opened this issue Nov 9, 2023 · 2 comments · Fixed by #1969
Closed

platform mismatch during pack build / pack builder create #1968

robdimsdale opened this issue Nov 9, 2023 · 2 comments · Fixed by #1969
Labels
status/ready Issue ready to be worked on. type/bug Issue that reports an unexpected behaviour.
Milestone

Comments

@robdimsdale
Copy link
Contributor

Summary

When running pack build 0.32.0 wih the paketo builder/buildpack images, we see the following error:

fetching image: image with reference gcr.io/paketo-buildpacks/dotnet-core:0.41.0 was found but does not match the specified platform: wanted linux/amd64, actual: linux

This is true for all our images - it's nothing specific to the dotnet-core buildpack.


Reproduction

pack build or pack builder create with the paketo builders.

e.g. pick a Paketo Samples app and try to pack build it.

Environment

pack info
docker info
@robdimsdale robdimsdale added status/triage Issue or PR that requires contributor attention. type/bug Issue that reports an unexpected behaviour. labels Nov 9, 2023
@jjbustamante jjbustamante added status/ready Issue ready to be worked on. and removed status/triage Issue or PR that requires contributor attention. labels Nov 9, 2023
@jjbustamante jjbustamante added this to the 0.32.1 milestone Nov 9, 2023
@c0d1ngm0nk3y
Copy link
Contributor

This is kind of a big deal, isn't it? Should we add some integration test to make sure that pack build works with paketo?

@natalieparellano
Copy link
Member

Should we add some integration test to make sure that pack build works with paketo?

We should definitely add an acceptance test. Our current suite didn't catch this because all the tests that do pack build --buildpack <image> use daemon images. A test that uses a registry image would have caught this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/ready Issue ready to be worked on. type/bug Issue that reports an unexpected behaviour.
Projects
None yet
4 participants