updated install-chromedriver.sh

This commit is contained in:
marvzhang
2020-07-30 14:54:07 +08:00
parent e2c56a1b01
commit ec81344e20

View File

@@ -14,7 +14,6 @@ export DEBIAN_FRONTEND=noninteractive \
&& apt install --no-install-recommends --no-install-suggests -y \
/tmp/chrome.deb \
&& CHROMIUM_FLAGS='--no-sandbox --disable-dev-shm-usage' \
# Patch Chrome launch script and append CHROMIUM_FLAGS to the last line:
&& sed -i '${s/$/'" $CHROMIUM_FLAGS"'/}' /opt/google/chrome/google-chrome \
&& BASE_URL=https://chromedriver.storage.googleapis.com \
&& VERSION=$(curl -sL "$BASE_URL/LATEST_RELEASE") \