Skip to content

Commit 17965bd

Browse files
committed
Update the Dockerfile
1 parent 6277f84 commit 17965bd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Dockerfile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,18 @@ RUN pip3 install --upgrade setuptools
8484
RUN pip3 install --upgrade setuptools-scm
8585
RUN cd /SeleniumBase && ls && pip3 install -r requirements.txt --upgrade
8686
RUN cd /SeleniumBase && python3 setup.py develop
87-
RUN seleniumbase install chromedriver
88-
RUN seleniumbase install geckodriver
87+
88+
#=====================
89+
# Download WebDrivers
90+
#=====================
91+
RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.29.1/geckodriver-v0.29.1-linux32.tar.gz
92+
RUN tar -xvzf geckodriver-v0.29.1-linux32.tar.gz
93+
RUN chmod +x geckodriver
94+
RUN mv geckodriver /usr/local/bin/
95+
RUN wget https://chromedriver.storage.googleapis.com/2.44/chromedriver_linux64.zip
96+
RUN unzip chromedriver_linux64.zip
97+
RUN mv chromedriver /usr/local/bin/
98+
RUN chmod +x /usr/bin/chromedriver
8999

90100
#==========================================
91101
# Create entrypoint and grab example tests

0 commit comments

Comments
 (0)