For additional references, you can view the answer by to all. RUN gdebi -non-interactive google-chrome*.deb RUN apt-get install -y libappindicator1 fonts-liberation #RUN yes | npm install -g npm install -g lighthouse You can refer to my Dockerfile below for references. After using gdebi-core as an alternative for dpkg, I discovered that the URL given by is actually outdated (it's from 2018), so I used the current official URL to download Chrome Headless. Which will download the dpkg installable package file. At first it seemed to work great, but I encountered errors with the Debian package dependencies. The Download Chrome button will detect ubuntu version and ask you for accepting & install. rpm package for Fedora and openSUSE platforms. deb package for Debian and Ubuntu platforms. ![]() Download the package for your Linux platform: 64-bit. I used these commands in a non-alpine based Dockerfile to setup LightHouse. To download Chrome Browser for the enterprise: Go to the Chrome Browser packages download page and click Download Chrome. Sudo apt-get install -y libappindicator1 fonts-liberation Re-install the new stable chrome headless sudo apt-get update Uninstall previous chrome sudo apt-get purge chromium-browser
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |