Skip to content

Commit 641317c

Browse files
committed
Explicitly install Firefox 45.0.1
1 parent 5b48ee2 commit 641317c

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

Base/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN apt-get update -qqy \
1818
sudo \
1919
unzip \
2020
wget \
21+
bzip2 \
2122
&& rm -rf /var/lib/apt/lists/* \
2223
&& sed -i 's/securerandom\.source=file:\/dev\/random/securerandom\.source=file:\/dev\/urandom/' ./usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security
2324

NodeBase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/base:2.52.0
1+
FROM selenium/base:latest
22
MAINTAINER Selenium <[email protected]>
33

44
ENV DEBIAN_FRONTEND noninteractive

NodeFirefox/Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
FROM selenium/node-base:2.52.0
1+
FROM selenium/node-base:latest
22
MAINTAINER Selenium <[email protected]>
33

44
USER root
55

66
#=========
77
# Firefox
88
#=========
9+
ENV FIREFOX_VERSION 45.0.1
910
RUN apt-get update -qqy \
10-
&& apt-get -qqy --no-install-recommends install \
11-
firefox \
12-
&& rm -rf /var/lib/apt/lists/*
11+
&& apt-get -qqy --no-install-recommends install firefox \
12+
&& rm -rf /var/lib/apt/lists/* \
13+
&& wget --no-verbose -O /tmp/firefox.tar.bz2 https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2 \
14+
&& rm -rf /opt/firefox \
15+
&& tar -C /opt -xjf /tmp/firefox.tar.bz2 \
16+
&& rm /tmp/firefox.tar.bz2 \
17+
&& mv /opt/firefox /opt/firefox-$FIREFOX_VERSION \
18+
&& ln -fs /opt/firefox-$FIREFOX_VERSION/firefox /usr/bin/firefox
1319

1420
#========================
1521
# Selenium Configuration

StandaloneFirefox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/node-firefox:2.52.0
1+
FROM selenium/node-firefox:latest
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

0 commit comments

Comments
 (0)