Skip to content

Commit b7805f6

Browse files
committed
uo
1 parent 98fb525 commit b7805f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ RUN apt-get -y update && apt-get install -y \
3333
# Install chromedriver
3434
RUN apt-get install -yqq unzip
3535
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/ && \
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/ && \
3839
chmod +x /usr/local/bin/chromedriver && \
39-
rm /tmp/chromedriver-linux64.zip
40+
rm -rf /tmp/chromedriver-linux64.zip /tmp/chromedriver-linux64
4041

4142
# Set display port and shared memory settings
4243
ENV DISPLAY=:99

0 commit comments

Comments
 (0)