From 4b02cb53aae285a85251ca779451e162a9c1d06b Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 7 Sep 2024 13:35:06 +0800 Subject: [PATCH] Attempt install of chrome from apt --- Dockerfile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index e0149f1..caea029 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,17 +20,9 @@ RUN apt install -y graphviz libgraphviz-dev graphviz-dev wget zip RUN pip3 install --upgrade pip RUN pip3 install --no-cache-dir -r requirements.txt -# Chrome has no install candidate on ARM64 -# If you plan on running on x86 you can comment this out -# 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 Chrome & Chromedriver +RUN apt install -y chromium-browser chromium-driver + # Install Firefox and Geckodriver RUN apt install -y firefox-esr # Download the latest Geckodriver and install it