npv2k1 commited on
Commit
b7805f6
·
1 Parent(s): 98fb525
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -33,10 +33,11 @@ RUN apt-get -y update && apt-get install -y \
33
  # Install chromedriver
34
  RUN apt-get install -yqq unzip
35
  RUN CHROMEDRIVER_VERSION=133.0.6943.126 && \
36
- wget -O /tmp/chromedriver-linux64.zip https://storage.googleapis.com/chrome-for-testing-public/133.0.6943.126/linux64/chromedriver-linux64.zip && \
37
- unzip /tmp/chromedriver-linux64.zip chromedriver -d /usr/local/bin/ && \
 
38
  chmod +x /usr/local/bin/chromedriver && \
39
- rm /tmp/chromedriver-linux64.zip
40
 
41
  # Set display port and shared memory settings
42
  ENV DISPLAY=:99
 
33
  # Install chromedriver
34
  RUN apt-get install -yqq unzip
35
  RUN CHROMEDRIVER_VERSION=133.0.6943.126 && \
36
+ wget -O /tmp/chromedriver-linux64.zip https://storage.googleapis.com/chrome-for-testing-public/${CHROMEDRIVER_VERSION}/linux64/chromedriver-linux64.zip && \
37
+ unzip /tmp/chromedriver-linux64.zip -d /tmp && \
38
+ mv /tmp/chromedriver-linux64/chromedriver /usr/local/bin/ && \
39
  chmod +x /usr/local/bin/chromedriver && \
40
+ rm -rf /tmp/chromedriver-linux64.zip /tmp/chromedriver-linux64
41
 
42
  # Set display port and shared memory settings
43
  ENV DISPLAY=:99