Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phantomjs broken in Docker image #62

Closed
jantman opened this issue May 9, 2017 · 0 comments
Closed

phantomjs broken in Docker image #62

jantman opened this issue May 9, 2017 · 0 comments

Comments

@jantman
Copy link
Owner

jantman commented May 9, 2017

  1. To get phantomjs to even run (via ofxgetter), we need to add -e 'QT_QPA_PLATFORM=offscreen' to the docker exec command.
  2. Once that's done, phantomjs dies with [FATAL] QFontDatabase: Cannot find font directory /usr/lib/x86_64-linux-gnu/fonts - is Qt installed correctly?. That can be fixed with ln -s /usr/share/fonts /usr/lib/x86_64-linux-gnu/fonts
  3. But then phantomjs just crashes without any helpful information at all.

It looks like the jessie-backports phantomjs package is broken, at least on this Docker image, or else we need to upgrade the underlying images or OS. Might be better to try using the phantomjs install methods from one of these:

Also, should add a simple phantomjs test to the Docker tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant