![]() ![]() 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 Click on Download Chrome When you click the download button, it gives two options for downloading files. ![]() You can refer to my Dockerfile below for references. Get Google Chrome You’ll see a download link there. 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. At first it seemed to work great, but I encountered errors with the Debian package dependencies. I used these commands in a non-alpine based Dockerfile to setup LightHouse. 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 |