mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
fix: use fixed chromium version (#10010)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -9,11 +9,16 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
# Set executable path for puppeteer
|
||||
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
|
||||
|
||||
# Currently the latest version available for both amd64 and arm64 on Debian 12
|
||||
# Corresponds to puppeteer v24.17.1
|
||||
# see https://pptr.dev/supported-browsers
|
||||
ARG CHROMIUM_VERSION="139.0.7258.154-1~deb12u1"
|
||||
|
||||
# Install Chromium and fonts
|
||||
# https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md?plain=1#L397
|
||||
RUN apt-get update --fix-missing
|
||||
RUN apt-get install -y gnupg wget libxss1
|
||||
RUN apt-get install -y fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf
|
||||
RUN apt-get install -y chromium-common --no-install-recommends
|
||||
RUN apt-get install -y chromium --no-install-recommends
|
||||
RUN apt-get install -y chromium-common=${CHROMIUM_VERSION} --no-install-recommends
|
||||
RUN apt-get install -y chromium=${CHROMIUM_VERSION} --no-install-recommends
|
||||
RUN apt-get clean
|
||||
|
||||
Reference in New Issue
Block a user