foomo/pagespeed_exporter

Issues with aarch64 & docker compose / kubernetes

Closed this issue · 3 comments

upx does not support aarch64 in alpine at this time - upx/upx#441

Using an Apple M1, you cannot use this image to docker build (fails to find upx as it does not exist for that architecture) or deploy with docker-compose / k8s for docker (the container crashes on startup).

With docker-compose & k8s you will get the follow error:

qemu: uncaught target signal 11 (Segmentation fault) - core dumped

I would suggestion something like docker buildx for github actions to build cross platform.
https://github.com/docker/setup-buildx-action

@initharrington new version should fix this! Removed UPX since the gains weren't that big!

Check it out, and if everything works, feel free to close the ticket!

Thanks for pointing it out!

@smartinov can you add the cross build in the github actions for qemu?
Thanks!