From f066111d49a1ac55cf10d1a6c52bb00b02fc7ca9 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Wed, 4 Jun 2025 14:09:13 +0100 Subject: [PATCH] removes geckodriver dependencies following screenshot enricher removal --- Dockerfile | 22 ++-------------------- docs/source/installation/installation.md | 4 ++-- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6637f7d..fc92ce3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,26 +11,8 @@ ENV RUNNING_IN_DOCKER=1 \ ARG TARGETARCH # Installing system dependencies -RUN add-apt-repository ppa:mozillateam/ppa && \ - apt-get update && \ - apt-get install -y --no-install-recommends gcc ffmpeg fonts-noto exiftool python3-tk && \ - apt-get install -y --no-install-recommends firefox-esr && \ - ln -s /usr/bin/firefox-esr /usr/bin/firefox - -ARG GECKODRIVER_VERSION=0.36.0 - -RUN if [ $(uname -m) = "aarch64" ]; then \ - GECKODRIVER_ARCH=linux-aarch64; \ - else \ - GECKODRIVER_ARCH=linux64; \ - fi && \ - wget https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-${GECKODRIVER_ARCH}.tar.gz && \ - tar -xvzf geckodriver* -C /usr/local/bin && \ - chmod +x /usr/local/bin/geckodriver && \ - rm geckodriver-v* && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - +RUN apt-get update && \ + apt-get install -y --no-install-recommends gcc ffmpeg fonts-noto exiftool python3-tk # Poetry and runtime FROM base AS runtime diff --git a/docs/source/installation/installation.md b/docs/source/installation/installation.md index 40b21cf..5f68dad 100644 --- a/docs/source/installation/installation.md +++ b/docs/source/installation/installation.md @@ -51,8 +51,8 @@ After this, you're ready to set up your [your configuration file](configurations If using the local installation method, you will also need to install the following dependencies locally: 1.[ffmpeg](https://www.ffmpeg.org/) - for handling of downloaded videos -2. [firefox](https://www.mozilla.org/en-US/firefox/new/) and [geckodriver](https://github.com/mozilla/geckodriver/releases) on a path folder like `/usr/local/bin` - for taking webpage screenshots with the screenshot enricher -3. (optional) [fonts-noto](https://fonts.google.com/noto) to deal with multiple unicode characters during selenium/geckodriver's screenshots: `sudo apt install fonts-noto -y`. + +3. (optional) [fonts-noto](https://fonts.google.com/noto) to deal with multiple unicode characters during selenium screenshots: `sudo apt install fonts-noto -y`. 4. [Browsertrix Crawler docker image](https://hub.docker.com/r/webrecorder/browsertrix-crawler) for the WACZ enricher/archiver