Download wkhtmltopdf from https://github.com/wkhtmltopdf/wkhtmltopdf
git clone --recursive https://github.com/wkhtmltopdf/wkhtmltopdf.git
Download the wkhtmltopdf packaging tool from https://github.com/wkhtmltopdf/packaging
git clone https://github.com/wkhtmltopdf/packaging
checkout the wkhtmltopdf 0.12.2.1
cd ~/wkhtmltopdf
git checkout 0.12.2.1
checkout the last version of wkhtmltopdf/qt
cd ~/wkhtmltopdf/qt
git checkout wk_4.8.7
swtich to the packaging folder
cd ~/packaging
lets build
./build --use-qemu linux/arm64/v8 package-docker --clean centos7-aarch64 ../wkhtmltopdf