



If anything goes wrong – like missing dependencies or couldn’t open the file then open a terminal(Ctrl+Alt+t) and execute the following command(s) to first install the missing packages/libraries – sudo apt-get install libnspr4-0d Then wait for the installation to complete.

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. 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
