mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Attempt install of chrome from apt
This commit is contained in:
parent
7690e22c64
commit
4b02cb53aa
1 changed files with 3 additions and 11 deletions
14
Dockerfile
14
Dockerfile
|
@ -20,17 +20,9 @@ RUN apt install -y graphviz libgraphviz-dev graphviz-dev wget zip
|
||||||
RUN pip3 install --upgrade pip
|
RUN pip3 install --upgrade pip
|
||||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Chrome has no install candidate on ARM64
|
# Install Chrome & Chromedriver
|
||||||
# If you plan on running on x86 you can comment this out
|
RUN apt install -y chromium-browser chromium-driver
|
||||||
# Install Chrome
|
|
||||||
# RUN apt install chromium-browser
|
|
||||||
# Install Chromedriver
|
|
||||||
# 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 \
|
|
||||||
# && chmod +x /usr/bin/chromedriver
|
|
||||||
|
|
||||||
# Install Firefox and Geckodriver
|
# Install Firefox and Geckodriver
|
||||||
RUN apt install -y firefox-esr
|
RUN apt install -y firefox-esr
|
||||||
# Download the latest Geckodriver and install it
|
# Download the latest Geckodriver and install it
|
||||||
|
|
Loading…
Reference in a new issue