| hashar added a comment. |
grunt-contrib-qunit 0.3.0 migrates from PhantomJS to Chrome using Puppeteer. So we can probably drop PhantomJS from the container.
Puppeteer download a fixed version of Chrome from somewhere but it obviously does not install any shared libraries. Adding the chromium package to the container should bring all required dependencies. Or at least enough dependencies so that a downloaded Chrome would be all happy.
$ apt-file search libXcursor.so.1 libxcursor1: /usr/lib/x86_64-linux-gnu/libXcursor.so.1 $ apt-cache depends chromium|grep libxcur Depends: libxcursor1
mediawiki/services/chromium-render uses Puppeter as well, it is intended to be run on production and CI injects PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true to prevent downloading Chrome. Instead I guess it uses Chromium provided by Debian. It would be interesting to reuse the same logic there to save on downloading Chrome over and over on each build, but it might not be compatible with puppeteer / grunt-contrib-qunit. Probably node-contrib-qunit depends on a specific version of Puppeteer which in turns might only work with a specific version of Chrome and not with the Chromium version from Debian.
Cc: hashar, Addshore, Aklapper, Smalyshev, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, D3r1ck01, Jonas, Xmlizer, thcipriani, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
