3 ms·
This is sad, phantomjs is better stripped than Chromium headless, if you ever try to install Chromium on servers without X, it requires shit ton of dependencies
by est 10y ago
This is sad, phantomjs is better stripped than Chromium headless, if you ever try to install Chromium on servers without X, it requires shit ton of dependencies, while phantomjs was properly modified requires only minimal library.
- akx 10y agoI don't really see the problem. After all, you just install those deps once in your Dockerfile, right? ;)
- yeukhon 10y agoNot everyone is using Docker.
- est 10y agochromium-browser requires these chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra cpp cpp-4.8 fontconfig fontconfig-config fonts-dejavu-core hicolor-icon-theme libasound2 libasound2-data libatk1.0-0 libatk1.0-data libatomic1 libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcloog-isl4 libcups2 libdatrie1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfile-basedir-perl libfile-desktopentry-perl libfile-mimeinfo-perl libfontconfig1 libfontenc1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgmp10 libgnome-keyring-common libgnome-keyring0 libgraphite2-3 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libharfbuzz0b libice6 libisl10 libjasper1 libjbig0 libjpeg-turbo8 libjpeg8 libllvm3.4 libmpc3 libmpfr4 libnspr4 libnss3 libnss3-nssdb libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0 libpixman-1-0 libsm6 libspeechd2 libthai-data libthai0 libtiff5 libtxc-dxtn-s2tc0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 x11-common x11-utils x11-xserver-utils xdg-utils phantomjs: fontconfig-config fonts-dejavu-core libfontconfig1 libjpeg-turbo8 libjpeg8
- renownedmedia 10y agoI'm assuming a lot of those dependencies (x11, libgtk) will disappear once installing a special headless version of chrome.
- akx 10y agoErr, that's... simply not right. The difference isn't that dramatic. $ docker run -it ubuntu:16.04 sh -c 'apt-get update && apt-get install phantomjs' 134 newly installed. After this operation, 339 MB of additional disk space will be used. $ docker run -it ubuntu:16.04 sh -c 'apt-get update && apt-get install chromium-browser' 202 newly installed. After this operation, 615 MB of additional disk space will be used.