Created
November 24, 2022 03:06
-
-
Save ethanpil/37e3dce0bed48d15f321e7cb9f0307fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install wkhmltopdf on alpine linux 3.15 | |
apk add --update --no-cache --wait 10 libstdc++ libx11 libxrender libxext libssl1.1 ca-certificates fontconfig freetype ttf-dejavu ttf-droid ttf-freefont ttf-liberation && \ | |
apk add --update --no-cache --virtual .build-deps msttcorefonts-installer | |
update-ms-fonts && fc-cache -f | |
rm -rf /tmp/* && apk del .build-deps | |
cd /usr/bin | |
curl -LJO https://github.com/khalilgharbaoui/wkhtmltopdf-binary-edge-alpine/raw/master/libexec/wkhtmltopdf-alpine-linux-amd64 | |
mv wkhtmltopdf-alpine-linux-amd64 wkhtmltopdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment