Open Cobertos opened 5 years ago
note you can use qemu and binfmt to build arm bins easly from any hosts (x86+)
Hadn't thought that there was an interest in running this on arm, I think that can be worked into the existing release process. Also, an alpine image is already in the works for the v0.8.0 release (#214).
@wagoodman, in case you want to not only build the tool for multiple architectures with goreleaser, but also build (and probably test) docker images for them (on the same amd64 host), you might find dbhi/qus useful. As @rzr said, it provides examples of how to use QEMU and binfmt in an amd64 CI environment.
Moreover, should you provide images for multiple architectures, please publish a manifest too.
hi, i'm new to github, and i don't know how to do this right. I've recompiled your app for armhf. how should i make it public? (just put it in my public repo and mention you or somehow differently?)
@AA122AA, since this tool is written in golang, I believe that the complexity is not related to building it for ARM (which should work OOTB). Instead, the difficulty relies on handling packaging and container creation/publication in CI. Actually, since goreleaser is used, it might suffice with adding ARM to the matrix: https://github.com/wagoodman/dive/blob/master/.goreleaser.yml#L12-L13. So, I would suggest to get familiar with https://goreleaser.com/ first. Then, I'd look into https://github.com/wagoodman/dive/blob/master/.github/workflows/pipeline.yml.
@eine okey, thanks)
Hi everyone,
Someone could confirm when ARM build will be available or point me out for a tutorial to build it myself.
If you can add these steps in official documentation it would be great.
I want to use DIVE for inspecting the Nvidia Xavier NX (aarch64 ARM) images for my AI and Deep Learning projects.
BTW is a awesome tool!!!!
Thanks in advance!!
@apulache, dive
on x86_64 might already work for inspecting docker images for foreign architectures. Did you try it?
@eine Thanks for the reply and the suggestion. Definitely I will try it!!!.
Any updates? Tried building from source, but doesn't seem to support an aarch64 target.
I made a one-file image builder for my RPi, if anyone is interested they can give it a try: https://gist.github.com/barsa-net/e049b9651677491bda8ca1ca4ce2ab7c
It should only successfully build v.0.10.0 (which is the latest at the moment)
Note: This Dockerfile should be build directly on your arm platform.
I'm very new to Linux development, makefile builds, and docker but I was able to build this for the raspberry pi 4 today (without Docker). Is there any reason that there's no armhf binaries in the releases or an armhf alpine docker image? Is it just a matter of having the hardware/tooling setup to support that hardware?