From a627e99b38ffb52d52f09cc281978f0c68d221c8 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Fri, 20 Aug 2021 14:05:56 -0300 Subject: [PATCH] DEV: Add firefox for Ember tests Also removes install of nodejs/yarn since they are already provided by the base image. --- image/discourse_test/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/image/discourse_test/Dockerfile b/image/discourse_test/Dockerfile index 48f6ac8..b8cb62a 100644 --- a/image/discourse_test/Dockerfile +++ b/image/discourse_test/Dockerfile @@ -19,10 +19,8 @@ RUN gem update bundler --force &&\ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - &&\ echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list &&\ - 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 libxss1 google-chrome-stable yarn nodejs &&\ + apt install -y libgconf-2-4 libxss1 google-chrome-stable firefox-esr &&\ npm install -g eslint babel-eslint &&\ cd /var/www/discourse && sudo -E -u discourse -H yarn install -- 2.25.1