In order to provide picus binaries that can be used with all Linux distirbution, this PR changes to statically linked binaries for all platform using musl. Also the CI build is using arm64 platforms as those are faster and cheaper (Hetzner cloud).
Update
Actually the x86_64 CI build seems to be faster. A comparison:
hcloud instance
vCPU
RAM
build time
CAX31 (arm64)
8
16 GB
23 minutes
CPX31 (x86_64)
4
8 GB
17 minutes
Even when parallizing the build steps on arm64 the build time (18 minutes) was worse than non-parallized on x86_64. So I switched back to x86_64 builds.
In order to provide picus binaries that can be used with all Linux distirbution, this PR changes to statically linked binaries for all platform using musl. Also the CI build is using arm64 platforms as those are faster and cheaper (Hetzner cloud).
Update
Actually the x86_64 CI build seems to be faster. A comparison:
Even when parallizing the build steps on arm64 the build time (18 minutes) was worse than non-parallized on x86_64. So I switched back to x86_64 builds.