From 16a47f96ccb42f8170b1f37f9104c2485ae287c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Wed, 15 Jul 2020 15:34:18 +0200 Subject: [PATCH] Support Chrome 84 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- scripts/custom-docker-build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/custom-docker-build b/scripts/custom-docker-build index 34727ee..67a3ebb 100755 --- a/scripts/custom-docker-build +++ b/scripts/custom-docker-build @@ -6,7 +6,6 @@ IFS=$'\n\t' source scripts/build-helpers.sh function print_golang_args() { - case "$1" in 1.12) INSTALL_GOLANG_VERSION=1.12.13 @@ -28,7 +27,8 @@ function print_golang_args() { } # If you add a new minor version here, be sure to check that the -# ChromeDriver supports this: https://sites.google.com/a/chromium.org/chromedriver/downloads +# ChromeDriver supports this: https://sites.google.com/a/chromium.org/chromedriver/downloads. +# Chrome versions can be found at https://www.ubuntuupdates.org/pm/google-chrome-stable. # You may need to bump the version in scripts/install-chrome. function print_chrome_args() { case "$1" in @@ -56,6 +56,10 @@ function print_chrome_args() { CHROME_VERSION=83.0.4103.61-1 CHROME_DRIVER_VERSION=83.0.4103.39 ;; + 84|84.0) + CHROME_VERSION=84.0.4147.89-1 + CHROME_DRIVER_VERSION=84.0.4147.30 + ;; *) echo "Unknown chrome version $1"; exit 1; esac printf -- "--build-arg CHROME_VERSION=%s " "$CHROME_VERSION" @@ -91,7 +95,7 @@ function print_git_args() { ;; 2.27) GIT_VERSION=2.27.0 - GIT_DOWNLOAD_SHA256=77ded85cbe42b1ffdc2578b460a1ef5d23bcbc6683eabcafbb0d394dffe2e787 + GIT_DOWNLOAD_SHA256=77ded85cbe42b1ffdc2578b460a1ef5d23bcbc6683eabcafbb0d394dffe2e787 ;; *) echo "Unknown git version $1"; exit 1; esac