Update applications/puppeteer/Dockerfile
Some checks failed
Build Container: Node Puppeteer / Build Container Image: container:node-puppeteer (node-puppeteer) (push) Failing after 1m1s

This commit is contained in:
2025-06-11 18:51:52 +00:00
parent b7fe5edb7d
commit 0862e81cf9

View File

@@ -1,15 +1,13 @@
FROM node:20.11.1 FROM node:20.11.1
# Install the latest Chrome dev package and necessary fonts and libraries # Install the latest Chrome dev package and necessary fonts and libraries
RUN apt-get update \\ RUN apt-get update -y && apt-get install -y wget gnupg
&& apt-get install -y wget gnupg \\ RUN wget -q -O - <https://dl-ssl.google.com/linux/linux_signing_key.pub> | gpg --dearmor -o /usr/share/keyrings/googlechrome-linux-keyring.gpg
&& wget -q -O - <https://dl-ssl.google.com/linux/linux_signing_key.pub> | gpg --dearmor -o /usr/share/keyrings/googlechrome-linux-keyring.gpg \\ RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/googlechrome-linux-keyring.gpg] <https://dl-ssl.google.com/linux/chrome/deb/> stable main" > /etc/apt/sources.list.d/google.list
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/googlechrome-linux-keyring.gpg] <https://dl-ssl.google.com/linux/chrome/deb/> stable main" > /etc/apt/sources.list.d/google.list \\ RUN apt-get update -y
&& apt-get update \\ RUN apt-get install --no-install-recommends -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-khmeros fonts-kacst fonts-freefont-ttf libxss1 dbus dbus-x11
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-khmeros fonts-kacst fonts-freefont-ttf libxss1 dbus dbus-x11 \\ RUN rm -rf /var/lib/apt/lists/*
--no-install-recommends \\ RUN groupadd -r container && useradd -rm -g container -G audio,video container
&& rm -rf /var/lib/apt/lists/* \\
&& groupadd -r container && useradd -rm -g container -G audio,video container
# Determine the path of the installed Google Chrome # Determine the path of the installed Google Chrome
RUN which google-chrome-stable || true RUN which google-chrome-stable || true