Skip to content

Commit 8106d77

Browse files
author
Francois-Xavier Gentilhomme
committed
Change FIREFOX_VERSION from ENV to ARG
1 parent 1883233 commit 8106d77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NodeFirefox/Dockerfile.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ USER root
55
#=========
66
# Firefox
77
#=========
8-
ENV FIREFOX_VERSION 47.0.1
8+
ARG FIREFOX_VERSION=47.0.1
99
RUN apt-get update -qqy \
1010
&& apt-get -qqy --no-install-recommends install firefox \
1111
&& rm -rf /var/lib/apt/lists/* \
@@ -20,7 +20,7 @@ RUN apt-get update -qqy \
2020
#============
2121
# GeckoDriver
2222
#============
23-
ENV GECKODRIVER_VERSION 0.10.0
23+
ARG GECKODRIVER_VERSION=0.10.0
2424
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 \
2525
&& rm -rf /opt/geckodriver \
2626
&& tar -C /opt -zxf /tmp/geckodriver.tar.gz \

0 commit comments

Comments
 (0)