File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,27 @@ RUN apt-get update -qqy \
10
10
&& rm -rf /var/lib/apt/lists/* \
11
11
&& apt-get -y purge firefox
12
12
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 \
14
14
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 \
15
15
&& mkdir -p /opt/firefox/$VERSION \
16
16
&& tar -C /opt/firefox/$VERSION --strip-components 1 -xjf /tmp/firefox-$VERSION.tar.bz2 \
17
17
&& rm /tmp/firefox-$VERSION.tar.bz2 \
18
18
;done
19
19
RUN ln -fs /opt/firefox/$FIREFOX_VERSION/firefox /usr/bin/firefox
20
20
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
+
21
34
#========================
22
35
# Selenium Configuration
23
36
#========================
You can’t perform that action at this time.
0 commit comments