[atlas-sw-probes] RIPE Atlas Software Probe using Alpine Linux
- Previous message (by thread): [atlas-sw-probes] RIPE Atlas Software Probe using Alpine Linux
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Robert Kisteleki
robert at ripe.net
Tue Sep 14 10:15:59 CEST 2021
This is very nice! I made a PR for the documentation repo https://github.com/RIPE-NCC/ripe-atlas-probe-doc to link to this Cheers, Robert On 2021-09-13 18:32, César de Tassis Filho wrote: > Hi, > > I've created Docker images of RIPE Atlas Software Probe using Alpine Linux. > > The main goal was to achieve the smallest image sizes possible and run > them on MikroTik routers, now that RouterOS supports running containers[1]. > > The image size difference is quite impressive. While an exported tarball > of a debian:10-slim image with atlasswprobe-*.deb installed reaches > ~95MiB, my version based on Alpine is only ~15MiB. > > I had to make small changes to the code, like checkout devel branch on > ripe-atlas-probe-busybox because it has fixes for musl and apply a patch > that fixes syscalls for arm32v7. But other than that it is built using > the same code provided for Debian. > > Images were compiled for amd64, arm64v8 and arm32v7 and they seem to > work well on all 3 architectures. > > I have a probe running[2] on my MikroTik RouterBOARD using this code. It > is not quite stable yet due to all the testing I have done, but it is > there as a proof of concept :) > > *This is still a work in progress.* Maybe there's something not quite > right. Please let me know if you find something. > > Code is available on GitHub[3]. Images on Docker Hub[4]. > > Best regards, > César > > [1] https://forum.mikrotik.com/viewtopic.php?f=2&t=178437 > <https://forum.mikrotik.com/viewtopic.php?f=2&t=178437> > [2] https://atlas.ripe.net/probes/1002873/ > <https://atlas.ripe.net/probes/1002873/> > [3] https://github.com/CTassisF/ripe-atlas-alpine > <https://github.com/CTassisF/ripe-atlas-alpine> > [4] https://hub.docker.com/r/ctassisf/ripe-atlas-alpine > <https://hub.docker.com/r/ctassisf/ripe-atlas-alpine>
- Previous message (by thread): [atlas-sw-probes] RIPE Atlas Software Probe using Alpine Linux
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]