nshttpd / mikrotik-exporter

prometheus mikrotik device(s) exporter
BSD 3-Clause "New" or "Revised" License
550 stars 153 forks source link

Arm docker images. #121

Closed ananthb closed 2 years ago

ananthb commented 3 years ago

Could Arm (armhf & arm64) docker images be added to docker hub? I'm ready to contribute to make this happen.

nshttpd commented 3 years ago

They are there in a separate ARM repo.(https://hub.docker.com/repository/docker/nshttpd/mikrotik-exporter-linux-arm64) at least for arm64. Somewhere in a tab or saved I have a bunch of docs on trying to get the multi-arch stuff working in a single repo.

ananthb commented 3 years ago

This PR might be useful here: https://github.com/nshttpd/mikrotik-exporter/pull/67. The multi stage build pattern makes it easier to use docker buildx to build multiplatform images.

Thanks for the arm images!

ananthb commented 3 years ago

@nshttpd I'm getting a manifest unknown error with that repository.

cheahjs commented 3 years ago

I wrote https://github.com/cheahjs/mikrotik-exporter/pull/1/files for myself for building x86/ARM/ARM64 Docker images on GitHub Actions