File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ RUN echo "deb http://archive.ubuntu.com/ubuntu xenial main universe\n" > /etc/a
14
14
# ========================
15
15
RUN apt-get update -qqy \
16
16
&& apt-get -qqy --no-install-recommends install \
17
+ bzip2 \
17
18
ca-certificates \
18
19
openjdk-8-jre-headless \
19
20
sudo \
Original file line number Diff line number Diff line change @@ -6,10 +6,17 @@ USER root
6
6
# =========
7
7
# Firefox
8
8
# =========
9
+ ENV FIREFOX_VERSION 45.0.1
9
10
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
13
20
14
21
# ========================
15
22
# Selenium Configuration
You can’t perform that action at this time.
0 commit comments