Build script is broken since phantomjs 1.9 was removed by upstream
Our only options are 1.4 and 2.0.
2.0 is in sid https://packages.debian.org/sid/phantomjs but it has unmet dependencies which we cannot meet in the ruby:2.1 image which is running Debian Jessie.
$ ./scripts/prepare_build.sh
Selecting previously unselected package phantomjs.
(Reading database ... 21063 files and directories currently installed.)
Preparing to unpack phantomjs_2.0.0+dfsg-1_amd64.deb ...
Unpacking phantomjs (2.0.0+dfsg-1) ...
dpkg: dependency problems prevent configuration of phantomjs:
phantomjs depends on libgl1-mesa-glx | libgl1; however:
Package libgl1-mesa-glx is not installed.
Package libgl1 is not installed.
phantomjs depends on libqt5core5a (>= 5.5.0); however:
Package libqt5core5a is not installed.
phantomjs depends on libqt5gui5 (>= 5.0.2); however:
Package libqt5gui5 is not installed.
phantomjs depends on libqt5network5 (>= 5.3.0); however:
Package libqt5network5 is not installed.
phantomjs depends on libqt5printsupport5 (>= 5.2.0); however:
Package libqt5printsupport5 is not installed.
phantomjs depends on libqt5webkit5 (>= 5.2.0); however:
Package libqt5webkit5 is not installed.
phantomjs depends on libqt5widgets5 (>= 5.0.2); however:
Package libqt5widgets5 is not installed.
phantomjs depends on libstdc++6 (>= 5.2); however:
Version of libstdc++6:amd64 on system is 4.9.2-10.