Skip to content

Instantly share code, notes, and snippets.

@mark-alfonso
Last active March 21, 2018 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mark-alfonso/5457374e10576d6c1a14352352670fe3 to your computer and use it in GitHub Desktop.
Save mark-alfonso/5457374e10576d6c1a14352352670fe3 to your computer and use it in GitHub Desktop.
Install WKHTML 0.13 in Docker

Docker Image: abernix/meteord:node-8-base

  1. Get .deb file
curl -L -O https://bitbucket.org/wkhtmltopdf/wkhtmltopdf/downloads/wkhtmltox-0.13.0-alpha-7b36694_linux-jessie-amd64.deb
  1. Install
dpkg -i wkhtmltox-0.13.0-alpha-7b36694_linux-jessie-amd64.deb
  1. Install dependencies
apt-get install -f
  1. Install xvfb
apt-get install xvfb
  1. Test
xvfb-run wkhtmltopdf google.com test.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment