netdisco-docker
netdisco-docker copied to clipboard
Arm64
Hi, is it possible to build these docker images for ARM64?
Thanks! Semirke
this might help https://github.com/marketplace/actions/run-on-architecture
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?
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
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 (https://github.com/docker/buildx/issues/59, https://github.com/docker/buildx/issues/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