Update applications/puppeteer/Dockerfile
Some checks failed
Build Container: Node Puppeteer / Build Container Image: container:node-puppeteer (node-puppeteer) (push) Failing after 1m1s
Some checks failed
Build Container: Node Puppeteer / Build Container Image: container:node-puppeteer (node-puppeteer) (push) Failing after 1m1s
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
FROM node:20.11.1
|
||||
|
||||
# Install the latest Chrome dev package and necessary fonts and libraries
|
||||
RUN apt-get update \\
|
||||
&& apt-get install -y wget gnupg \\
|
||||
&& 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] <https://dl-ssl.google.com/linux/chrome/deb/> stable main" > /etc/apt/sources.list.d/google.list \\
|
||||
&& apt-get update \\
|
||||
&& 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 \\
|
||||
--no-install-recommends \\
|
||||
&& rm -rf /var/lib/apt/lists/* \\
|
||||
&& groupadd -r container && useradd -rm -g container -G audio,video container
|
||||
RUN apt-get update -y && 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
|
||||
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
|
||||
RUN apt-get update -y
|
||||
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
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
RUN groupadd -r container && useradd -rm -g container -G audio,video container
|
||||
|
||||
# Determine the path of the installed Google Chrome
|
||||
RUN which google-chrome-stable || true
|
||||
|
||||
Reference in New Issue
Block a user