wkhtmltopdf / packaging

Packaging of wkhtmltopdf releases
https://wkhtmltopdf.org/downloads.html#stable
308 stars 141 forks source link

Native arm builds fail #132

Closed micchickenburger closed 1 year ago

micchickenburger commented 1 year ago

Native arm builds fail because wkhtmltopdf/fpm docker image on Docker Hub does not have an arm64 platform type.

A workaround was to build locally.

cd /path/to/wkhtmltopdf/packaging
sudo docker build -t wkhtmltopdf/fpm:1.10.2-20200531 -f docker/Dockerfile.fpm docker/
sudo python3 build --no-qemu package-docker focal-arm64 ../wkhtmltopdf/
ashkulz commented 1 year ago

@micchickenburger true, I don't have a native ARM machine so that I can push it to hub.docker.com. Do you know of a way I can get it working on an amd64 host? If so, I'll be happy to push an updated image.

micchickenburger commented 1 year ago

I don't know a way to do that from amd64/x86_64, but I can push the one I built if you'd like. I think my docker hub ID is the same as my github handle.

ashkulz commented 1 year ago

@micchickenburger can you check if it works now? Hopefully the multi-platform build works :crossed_fingers: