From 3f59708d29248752f1ba5c4b64297fb5c8fd9262 Mon Sep 17 00:00:00 2001 From: other019 Date: Thu, 28 May 2020 14:41:13 +0200 Subject: [PATCH] add exception for esr-latest as it should be downloaded from download.mozilla.org not download-installer.cdn.mozilla.net (#1049) --- NodeFirefox/Dockerfile.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NodeFirefox/Dockerfile.txt b/NodeFirefox/Dockerfile.txt index a636a58f0..a1ee6a28e 100644 --- a/NodeFirefox/Dockerfile.txt +++ b/NodeFirefox/Dockerfile.txt @@ -4,7 +4,7 @@ USER root # Firefox #========= ARG FIREFOX_VERSION=latest -RUN FIREFOX_DOWNLOAD_URL=$(if [ $FIREFOX_VERSION = "latest" ] || [ $FIREFOX_VERSION = "nightly-latest" ] || [ $FIREFOX_VERSION = "devedition-latest" ]; then echo "https://download.mozilla.org/?product=firefox-$FIREFOX_VERSION-ssl&os=linux64&lang=en-US"; else echo "https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2"; fi) \ +RUN FIREFOX_DOWNLOAD_URL=$(if [ $FIREFOX_VERSION = "latest" ] || [ $FIREFOX_VERSION = "nightly-latest" ] || [ $FIREFOX_VERSION = "devedition-latest" ] || [ $FIREFOX_VERSION = "esr-latest" ]; then echo "https://download.mozilla.org/?product=firefox-$FIREFOX_VERSION-ssl&os=linux64&lang=en-US"; else echo "https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2"; fi) \ && apt-get update -qqy \ && apt-get -qqy --no-install-recommends install firefox libavcodec-extra \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/* \