From 2681f752f1011032240423683cd1a524fa56540f Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 21 Oct 2023 14:17:50 -0700 Subject: [PATCH] ignore playwright chrome install on arm v7 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fba172bb..9d04023a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -121,8 +121,9 @@ RUN echo "[+] Installing extractor Chromium dependency..." \ && CHROME_BINARY="$($GLOBAL_VENV/bin/python -c 'from playwright.sync_api import sync_playwright; print(sync_playwright().start().chromium.executable_path)')" \ && ln -s "$CHROME_BINARY" /usr/bin/chromium-browser \ && mkdir -p "/home/${ARCHIVEBOX_USER}/.config/chromium/Crash Reports/pending/" \ - && chown -R $ARCHIVEBOX_USER "/home/${ARCHIVEBOX_USER}/.config" ลก\ - ; exit 0 + && chown -R $ARCHIVEBOX_USER "/home/${ARCHIVEBOX_USER}/.config" \ + ; if [[ "$TARGETPLATFORM" == "linux/arm/v7" ]]; then $exit 0; else exit 1 + # ignore failure for architectures where no playwright release is available yet # Install Node dependencies WORKDIR "$CODE_DIR"