include chromium
This commit is contained in:
@@ -30,4 +30,13 @@ RUN apt install -yq yt-dlp libssl-dev \
|
||||
|
||||
RUN python3 -m pip install --break-system-packages --no-cache-dir curl_cffi
|
||||
|
||||
# Google Chrome stable, required at /usr/bin/google-chrome by both browser
|
||||
# fallback backends (chromiumoxide auto-detects it there; playwright.rs hardcodes
|
||||
# the path). apt pulls in all of Chrome's runtime shared-lib deps automatically.
|
||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/googlechrome-linux-keyring.gpg \
|
||||
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/googlechrome-linux-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
|
||||
&& apt update \
|
||||
&& apt install -yq google-chrome-stable \
|
||||
&& apt-get clean
|
||||
|
||||
USER 1000
|
||||
|
||||
Reference in New Issue
Block a user