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

[FEAT] Please produce arm64 binaries #62

Closed
lukehoersten opened this issue Sep 29, 2020 · 6 comments · Fixed by #77 or #222
Closed

[FEAT] Please produce arm64 binaries #62

lukehoersten opened this issue Sep 29, 2020 · 6 comments · Fixed by #77 or #222

Comments

@lukehoersten
Copy link

I would like to use this on Raspberry Pi 4s with arm64 support.

@AnalogJ
Copy link
Owner

AnalogJ commented Sep 29, 2020

I have a issue tracking this work already. I'll have to check if Github Actions can run on an ARM OS. Though, it might just be as simple as doing a cross-compilation with Go.

Dupe of #61 closing.

@AnalogJ AnalogJ closed this as completed Sep 29, 2020
@lukehoersten
Copy link
Author

I searched before posting! Must have been a race condition ;) Anyway thanks!

@AnalogJ
Copy link
Owner

AnalogJ commented Oct 3, 2020

Hey @lukehoersten I just added Arm(32/64) builds to the CI.

If you're interested in testing it out, you can download the binaries.zip file from the CI here: AnalogJ/scrutiny/actions/runs/285389324
You'll need to extract the file, chmod +x scrutiny-collector-metrics-linux-arm, and then run it via the manual install instructions

If you could respond to this issue with the results of your testing (either success & failure), that would fantastic, since this is a brand new binary.

@cameronetchart
Copy link

Hi @AnalogJ, thanks a bunch for adding arm/arm64 support. Unfortunately, I think Docker Hub is not building these versions under the latest tag or any other tag that I can find. Docker Hub says latest was updated 8 hours ago as of now, but the code was merged 3 days ago?

Apologies if I'm missing something and just need to wait (I haven't made my own docker program before).

@AnalogJ
Copy link
Owner

AnalogJ commented Oct 12, 2020

@cameronetchart I actually don't know how to have Docker Hub create architecture variant images automatically. The work I did added binaries for arm/arm64, which can be used via the manual install instructions.

If you can point me to a link for how to build ARM images on Docker Hub, I'm happy to do so. My quick googling didn't come up with anything relevant.

@cameronetchart
Copy link

@AnalogJ I believe they're called multi-arch images/builds, referenced by docker here and here. Looks like Docker may have added native support for this within the last year; here's a recent tutorial I found.

I'll give the manual install a try for now too. Thanks!

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