Spaces:
Sleeping
Sleeping
Fix chromedriver version in Dockerfile to ensure compatibility with current setup
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -30,9 +30,9 @@ RUN apt-get -y update && apt-get install -y \
|
|
| 30 |
libgtk-3-0 \
|
| 31 |
libgbm1
|
| 32 |
|
| 33 |
-
# Install chromedriver
|
| 34 |
-
RUN
|
| 35 |
-
|
| 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 && \
|
|
|
|
| 30 |
libgtk-3-0 \
|
| 31 |
libgbm1
|
| 32 |
|
| 33 |
+
# Install chromedriver
|
| 34 |
+
RUN apt-get install -yqq unzip
|
| 35 |
+
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 && \
|