Install libxss1 for the test image, looks like it is needed by Chrome

See also https://github.com/puppeteer/puppeteer/issues/6192
This commit is contained in:
Penar Musaraj 2020-08-30 10:29:32 -04:00
parent ca39457ffc
commit c26084b19a
No known key found for this signature in database
GPG Key ID: E390435D881FF0F7
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo ap
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&\
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&\
apt update &&\
apt install -y libgconf-2-4 google-chrome-stable yarn nodejs &&\
apt install -y libgconf-2-4 libxss1 google-chrome-stable yarn nodejs &&\
npm install -g eslint babel-eslint &&\
cd /var/www/discourse && sudo -E -u discourse -H yarn install