From b18a9371f245256635097cece01b2cba0271adb3 Mon Sep 17 00:00:00 2001 From: Tuan Tuan LE Date: Thu, 8 Oct 2020 17:51:34 +0700 Subject: [PATCH] https://github.com/OpenPaaS-Suite/esn-frontend-calendar/issues/174 Fixed Firefox version for CI --- test/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/Dockerfile b/test/Dockerfile index 0264ee51..b03b9811 100644 --- a/test/Dockerfile +++ b/test/Dockerfile @@ -1,6 +1,10 @@ FROM node:10-buster -RUN apt-get update -RUN apt-get install -y firefox-esr +# Firefox for dependencies +RUN apt update && apt install -y firefox-esr && apt remove -y firefox-esr + +# Fixing Firefox's version +ENV FFV=81.0.1 +RUN cd /tmp && wget http://download-installer.cdn.mozilla.net/pub/firefox/releases/${FFV}/linux-x86_64/en-US/firefox-${FFV}.tar.bz2 && tar xvf firefox-${FFV}.tar.bz2 && ln -s /tmp/firefox/firefox /bin/firefox ENV MOZ_FORCE_DISABLE_E10S=true