Skip to content

Commit 5f3e0f1

Browse files
authored
add exception for esr-latest as it should be downloaded from download.mozilla.org not download-installer.cdn.mozilla.net (#1052)
1 parent 3bc74fe commit 5f3e0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NodeFirefox/Dockerfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ USER root
44
# Firefox
55
#=========
66
ARG FIREFOX_VERSION=latest
7-
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) \
7+
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) \
88
&& apt-get update -qqy \
99
&& apt-get -qqy --no-install-recommends install firefox libavcodec-extra \
1010
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \

0 commit comments

Comments
 (0)