fix(consent-tester): playwright install-deps — Firefox/WebKit fehlten OS-Libs
E2E auf BMW (macmini, arm64) zeigte: nur Chromium lief, Firefox/WebKit/Mobile- Safari scheiterten mit "Host system is missing dependencies to run browsers". Die manuell gepflegte apt-Lib-Liste war fuer Gecko/WebKit unvollstaendig. `playwright install-deps chromium firefox webkit` (als root) installiert den vollstaendigen OS-Dep-Satz → alle Engines starten. Betrifft beide Arches. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,12 @@ RUN useradd --create-home appuser
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# OS-Libs fuer ALLE drei Engines (Chromium/Firefox/WebKit) — offizieller
|
||||
# Playwright-Weg statt der manuellen Liste oben, die fuer Firefox/WebKit
|
||||
# unvollstaendig war: Engines scheiterten sonst mit "Host system is missing
|
||||
# dependencies to run browsers" (nur Chromium lief). Als root (apt).
|
||||
RUN playwright install-deps chromium firefox webkit
|
||||
|
||||
# Install Playwright browsers AS appuser (so they land in /home/appuser/.cache/)
|
||||
# Stage 1: chromium + firefox + webkit (Mobile-Safari = WebKit + devices preset)
|
||||
USER appuser
|
||||
|
||||
Reference in New Issue
Block a user