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

[Request] images for --platform linux/arm/v6 #15

Open
Stelminator opened this issue Oct 24, 2023 · 2 comments
Open

[Request] images for --platform linux/arm/v6 #15

Stelminator opened this issue Oct 24, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Stelminator
Copy link
Contributor

Stelminator commented Oct 24, 2023

  1. This works a treat. Thank you!
  2. I'm running it (primarily) on a Raspberry Pi 2, which is
    $ arch
    armv7l
  1. This required me to compile/upload for something that works on that architecture. docker buildx build --platform [snip],linux/arm/v6 worked. It was slow (I think ~5m for /v6 vs. like 80s for amd64), but it succeeded.
  2. I don't know why linux/arm/v7 takes at least twice as long as /v6. I couldn't even get it to complete. I'm not sure it matters as long as the /v6 option works for my Pi2.
  3. Related to those options, a pi3, which reports aarch64, also manages to pull an image (is there a good way to see which arch it pulled?).

Between external-mdns and metallb, I have quite an effective home-lab k8s local network setup without any special hardware.

LMK if I can help test.

@blake
Copy link
Owner

blake commented Mar 9, 2024

@Stelminator I don't mind adding support for linux/arm/v6 as long as you've confirmed it works. The cross-compilation changes you added in #16 make it much easier to build for an additional architecture. I'll build for linux/arm/v6 in the next release.

@blake blake self-assigned this Mar 9, 2024
@blake blake added the enhancement New feature or request label Mar 9, 2024
@Stelminator
Copy link
Contributor Author

@blake

@Stelminator I don't mind adding support for linux/arm/v6 as long as you've confirmed it works. The cross-compilation changes you added in #16 make it much easier to build for an additional architecture. I'll build for linux/arm/v6 in the next release.

Thanks!

I'm sure that linux/arm/v6 satisfied my needs.

Raspberry Pi 2 and Pi 3 might be able to run linux/arm/v7, but I didn't push that to Docker Hub due to a stalled build. v6 was sufficient to make things work. I'm not set up to test this again right now. I had a test tag on Docker Hub when developing the cross-compilation, but I have since pruned it.

Screenshot 2024-03-09 155030

I'll circle back to give this a more comprehensive and up-to-date test when I have time.

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

No branches or pull requests

2 participants