mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Revert to newer chromedriver version and update chromium source to apt
This commit is contained in:
parent
5cdd41313e
commit
a5dbf09040
1 changed files with 2 additions and 3 deletions
|
@ -17,11 +17,10 @@ RUN pip3 install --upgrade pip
|
|||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Install Chrome
|
||||
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
|
||||
RUN apt install chromium-browser
|
||||
|
||||
# Install Chromedriver
|
||||
ENV CHROMEDRIVER_VERSION=114.0.5735.90
|
||||
ENV CHROMEDRIVER_VERSION=124.0.6367.155
|
||||
RUN wget https://storage.googleapis.com/chrome-for-testing-public/$CHROMEDRIVER_VERSION/linux64/chromedriver-linux64.zip \
|
||||
&& unzip chromedriver-linux64.zip && rm -dfr chromedriver_linux64.zip \
|
||||
&& mv chromedriver-linux64/chromedriver /usr/bin/chromedriver \
|
||||
|
|
Loading…
Reference in a new issue