We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b58654e commit 83df668Copy full SHA for 83df668
Dockerfile
@@ -30,9 +30,9 @@ RUN apt-get -y update && apt-get install -y \
30
libgtk-3-0 \
31
libgbm1
32
33
-# Install chromedriver matching Chrome version
34
-RUN CHROME_VERSION=$(google-chrome --version | awk '{print $3}' | awk -F'.' '{print $1}') && \
35
- CHROMEDRIVER_VERSION=$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION) && \
+# Install chromedriver
+RUN apt-get install -yqq unzip
+RUN CHROMEDRIVER_VERSION=$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE) && \
36
wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip && \
37
unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/ && \
38
chmod +x /usr/local/bin/chromedriver && \
0 commit comments