Skip to content

Commit 670c947

Browse files
committed
Merge pull request #188 from davehunt/fx45
Pin the Firefox version to 45
2 parents 7637b66 + 6285828 commit 670c947

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Base/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN echo "deb http://archive.ubuntu.com/ubuntu xenial main universe\n" > /etc/a
1414
#========================
1515
RUN apt-get update -qqy \
1616
&& apt-get -qqy --no-install-recommends install \
17+
bzip2 \
1718
ca-certificates \
1819
openjdk-8-jre-headless \
1920
sudo \

NodeFirefox/Dockerfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,17 @@ USER root
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+
&& apt-get -y purge firefox \
15+
&& rm -rf /opt/firefox \
16+
&& tar -C /opt -xjf /tmp/firefox.tar.bz2 \
17+
&& rm /tmp/firefox.tar.bz2 \
18+
&& mv /opt/firefox /opt/firefox-$FIREFOX_VERSION \
19+
&& ln -fs /opt/firefox-$FIREFOX_VERSION/firefox /usr/bin/firefox
1320

1421
#========================
1522
# Selenium Configuration

0 commit comments

Comments
 (0)