Install libxss1 for the test image, looks like it is needed by Chrome
authorPenar Musaraj <pmusaraj@gmail.com>
Sun, 30 Aug 2020 14:29:32 +0000 (10:29 -0400)
committerPenar Musaraj <pmusaraj@gmail.com>
Sun, 30 Aug 2020 14:30:20 +0000 (10:30 -0400)
See also https://github.com/puppeteer/puppeteer/issues/6192

image/discourse_test/Dockerfile

index a3fe073fbbdff54fbf38d75074e36d52a66b4168..48f6ac818519d6dc3c44e9513389f401cedb65cc 100644 (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