Bump Chrome version to 59.0.3071.104 and add ChromeDriver to image

See https://chromereleases.googleblog.com/2017/06/stable-channel-update-for-desktop_15.html#gpluscomments
for more details.
This commit is contained in:
Stan Hu 2017-06-16 22:39:51 -07:00
parent 664b8ad699
commit 081f7b452f

View file

@ -2,7 +2,7 @@
set -xeo pipefail
CHROME_VERSION=${1:-59.0.3071.86-1}
CHROME_VERSION=${1:-59.0.3071.104-1}
curl -sS -L https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
@ -10,3 +10,7 @@ echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /et
apt-get update -q
env DEBIAN_FRONTEND="noninteractive" apt-get install -y google-chrome-stable=$CHROME_VERSION
rm -rf /var/lib/apt/lists/*
# Install ChromeDriver
wget -q https://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip
unzip chromedriver_linux64.zip -d /usr/local/bin