From 081f7b452fbad9c3200fc9fe25effa3592d5c843 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Fri, 16 Jun 2017 22:39:51 -0700 Subject: [PATCH 1/2] 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. --- scripts/install-chrome | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install-chrome b/scripts/install-chrome index 28a5b71..8ebad28 100755 --- a/scripts/install-chrome +++ b/scripts/install-chrome @@ -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 From 091046ce2c65be30067391d565d11bc409488799 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Tue, 20 Jun 2017 12:10:51 -0700 Subject: [PATCH 2/2] Remove zip file after downloading --- scripts/install-chrome | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install-chrome b/scripts/install-chrome index 8ebad28..884b2ad 100755 --- a/scripts/install-chrome +++ b/scripts/install-chrome @@ -14,3 +14,4 @@ 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 +rm -f chromedriver_linux64.zip