Skip to content

Commit e61dff5

Browse files
committed
Add support for Firefox 48
1 parent 9eb8021 commit e61dff5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

NodeFirefox/Dockerfile.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,27 @@ RUN apt-get update -qqy \
1010
&& rm -rf /var/lib/apt/lists/* \
1111
&& apt-get -y purge firefox
1212
ENV FIREFOX_VERSION 47.0.1
13-
RUN for VERSION in 47.0.1 46.0.1 45.0.2; do \
13+
RUN for VERSION in 48.0.2 47.0.1 46.0.1 45.0.2; do \
1414
wget --no-verbose -O /tmp/firefox-$VERSION.tar.bz2 https://download-installer.cdn.mozilla.net/pub/firefox/releases/$VERSION/linux-x86_64/en-US/firefox-$VERSION.tar.bz2 \
1515
&& mkdir -p /opt/firefox/$VERSION \
1616
&& tar -C /opt/firefox/$VERSION --strip-components 1 -xjf /tmp/firefox-$VERSION.tar.bz2 \
1717
&& rm /tmp/firefox-$VERSION.tar.bz2 \
1818
;done
1919
RUN ln -fs /opt/firefox/$FIREFOX_VERSION/firefox /usr/bin/firefox
2020

21+
#============
22+
# GeckoDriver
23+
#============
24+
ENV GECKODRIVER_VERSION 0.10.0
25+
RUN wget --no-verbose -O /tmp/geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz \
26+
&& rm -rf /opt/geckodriver \
27+
&& tar -C /opt -zxf /tmp/geckodriver.tar.gz \
28+
&& rm /tmp/geckodriver.tar.gz \
29+
&& mv /opt/geckodriver /opt/geckodriver-$GECKODRIVER_VERSION \
30+
&& chmod 755 /opt/geckodriver-$GECKODRIVER_VERSION \
31+
&& ln -fs /opt/geckodriver-$GECKODRIVER_VERSION /usr/bin/geckodriver \
32+
&& ln -fs /opt/geckodriver-$GECKODRIVER_VERSION /usr/bin/wires
33+
2134
#========================
2235
# Selenium Configuration
2336
#========================

0 commit comments

Comments
 (0)