rename DRIVER_VERSION environment variable to CHROME_DRIVER_VERSION

This commit is contained in:
Mike Greiling 2017-06-21 14:15:48 -05:00
parent 59d940661f
commit bd12e1c859
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ FROM ruby:2.3
LABEL maintainer "Grzegorz Bizon <grzegorz@gitlab.com>"
ENV CHROME_VERSION 59.0.3071.104-1
ENV DRIVER_VERSION 2.30
ENV CHROME_DRIVER_VERSION 2.30
##
# Update APT sources and install some dependencies
@ -20,7 +20,7 @@ RUN apt-get update -q && DEBIAN_FRONTEND=noninteractive apt-get install -y googl
##
# Install chromedriver to make it work with Selenium
#
RUN wget -q https://chromedriver.storage.googleapis.com/$DRIVER_VERSION/chromedriver_linux64.zip
RUN wget -q https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip
RUN unzip chromedriver_linux64.zip -d /usr/local/bin
RUN apt-get clean