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

Arm64 #64

Open
semirke opened this issue Jan 17, 2024 · 4 comments
Open

Arm64 #64

semirke opened this issue Jan 17, 2024 · 4 comments
Assignees

Comments

@semirke
Copy link

semirke commented Jan 17, 2024

Hi,
is it possible to build these docker images for ARM64?

Thanks!
Semirke

@ollyg
Copy link
Member

ollyg commented Jan 18, 2024

@ollyg
Copy link
Member

ollyg commented Jan 18, 2024

Thanks @semirke we will look into it.

Out of interest, have you got Netdisco running on arm64 using the standard install? Have all the dependencies and the app worked OK?

@semirke
Copy link
Author

semirke commented Jan 18, 2024

Hi,

I did a clean install on arm64v8/debian image and it installed without any issues following the installation manual, but havent tested the discovery yet.

Thanks :)
Semirke

@rc9000
Copy link
Member

rc9000 commented Mar 15, 2024

I did some experimenting in my own dockerhub namespace to not mess with things. Unfortunately it's not straightforward to convert the current workflow:

  • we build all the images locally and then tag and push them
  • but there seems to be a long-lasting buildx issue that does not allow to transfer multiarch images to the local context (--load), apparently you can only push from there (Building images for multi-arch with --load parameter fails docker/buildx#59, Can you split up the build and push steps? docker/buildx#1152 etc.)
  • so this either needs to be:
    • fixed in buildx
    • worked around with using something else than buildx (podman?)
    • or the workflow restructured so that the pushed images can be found by subsequent images (netdisco-base -> netdisco-backend etc.) while not messing up our dockerhub account with half-failed builds too much.

I'd probably try the second variant first. I can't spend much more time on this right now, but if somebody likes to pick it up, here is the partially adapted workflow: https://github.com/rc9000/netdisco/blob/master/.github/workflows/docker-multiarch.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants