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

Offer prebuilt ARM6 images for docker #534

Open
mhansen opened this issue Oct 7, 2019 · 1 comment
Open

Offer prebuilt ARM6 images for docker #534

mhansen opened this issue Oct 7, 2019 · 1 comment

Comments

@mhansen
Copy link

mhansen commented Oct 7, 2019

Hi, I'd like to ask for ARM6 images. I can make my own but would prefer to have these provided so they're always up to date. This is for running on a Raspberry Pi Zero W.

Something like this commit should work, just add ARM6: 666dbc7

$ uname -a
Linux zerow 4.14.98+ #1200 Tue Feb 12 20:11:02 GMT 2019 armv6l GNU/Linux

$ docker run prom/blackbox-exporter
Expected: runs, gives some logs
Exits with no logs - architecture mismatch, because the image only has an ARM7 version.

@mhansen
Copy link
Author

mhansen commented Oct 7, 2019

Looks like we'd also depend on a busybox-linux-armv6 available at https://quay.io/organization/prometheus, because the Dockerfile builds inside busybox for the specified architecture: https://github.com/prometheus/blackbox_exporter/blob/master/Dockerfile#L3.

I wonder though, does it have to be this way? Go supports cross-compilation pretty well: you don't need to build inside an ARMv6 container to get an ARMv6 go binary.

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

No branches or pull requests

1 participant