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

armv7/aarch64 fail with bookworm and bullseye #158

Closed
substring opened this issue Nov 29, 2024 · 3 comments
Closed

armv7/aarch64 fail with bookworm and bullseye #158

substring opened this issue Nov 29, 2024 · 3 comments

Comments

@substring
Copy link

When starting the action, Docker fails with no match for platform in manifest: not found whereas buster still works ok.

Trying the new syntax forcing the platform works for aarch64 but fails on armv7 for bookworm and bullseye. In other words:

  • 🆗 --platform=linux/armv7 arm32v7/debian:buster
  • 🔴 --platform=linux/armv7 arm32v7/debian:bullseye
  • 🔴 --platform=linux/armv7 arm32v7/debian:bookworm
  • 🆗 --platform=linux/aarch64 arm64v8/debian:buster
  • 🆗 --platform=linux/aarch64 arm64v8/debian:bullseye
  • 🆗 --platform=linux/aarch64 arm64v8/debian:bookworm

On a side note, not specifying arch and distro makes packages cache useless since all these "none-none" overlap eachother.

@uraimo
Copy link
Owner

uraimo commented Nov 29, 2024

Try --platform=linux/arm/v7, this should work.

But why are you not using one of the default arch/distro if those are the images you want to use? A workaround for the cache issue is creating your own new dockerfile in Dockerfiles, cloning one of the existing ones.

@substring
Copy link
Author

Thanks for the quick reply!

arm/v7 seems to work.

I'm not using arch and dist because they just don't work, except for buster. But now, should I use arm/v7 as arch instead of filling base_image as in my 1st message ?

@substring
Copy link
Author

After reading #155 (comment), I noticed I was still on v2.7.2. I've updated since, issue solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants