Skip to content

Commit b244466

Browse files
testphreakdiemol
authored andcommitted
Always download latest stable Firefox by default (#713)
* Always download latest stable Firefox by default * Simplified if/else logic for Firefox latest download * Fixed download logic that was causing build to error out
1 parent 1fec337 commit b244466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NodeFirefox/Dockerfile.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ USER root
33
#=========
44
# Firefox
55
#=========
6-
ARG FIREFOX_VERSION=59.0.1
7-
RUN FIREFOX_DOWNLOAD_URL=$(if [ $FIREFOX_VERSION = "nightly" ] || [ $FIREFOX_VERSION = "devedition" ]; then echo "https://download.mozilla.org/?product=firefox-$FIREFOX_VERSION-latest-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) \
6+
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) \
88
&& apt-get update -qqy \
99
&& apt-get -qqy --no-install-recommends install firefox \
1010
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \

0 commit comments

Comments
 (0)