DEV: Install evergreen Firefox in test image
authorRafael dos Santos Silva <xfalcox@gmail.com>
Wed, 8 Sep 2021 16:21:36 +0000 (13:21 -0300)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Wed, 8 Sep 2021 17:11:19 +0000 (14:11 -0300)
image/discourse_test/Dockerfile

index b8cb62a2b51e992ca5d57909e272e2cbe74413e9..362fe90c7e11ced360dc282d42caa7f262d93ece 100644 (file)
@@ -22,6 +22,8 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo ap
     apt update &&\
     apt install -y libgconf-2-4 libxss1 google-chrome-stable firefox-esr &&\
     npm install -g eslint babel-eslint &&\
+    cd /tmp && wget "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" -O firefox.tar.bz2 &&\
+    tar xjvf firefox.tar.bz2 && mv /tmp/firefox /opt/firefox-evergreen &&\
     cd /var/www/discourse && sudo -E -u discourse -H yarn install
 
 RUN cd /var/www/discourse && sudo -E -u discourse -H bundle exec rake plugin:install_all_official &&\