mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-20 17:36:48 -05:00
Update headless Chrome installation commands
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
FROM node:12
|
||||
|
||||
# Headless Chrome config
|
||||
# From: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
|
||||
|
||||
# Install latest chrome (dev) package.
|
||||
# Note: this also installs the necessary libs so we don't need the previous RUN command.
|
||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - &&\
|
||||
sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' &&\
|
||||
apt-get update &&\
|
||||
apt-get install -y google-chrome-unstable libgconf-2-4
|
||||
# Chrome/Puppeteer support
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y wget gnupg \
|
||||
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
|
||||
&& sh -c 'echo "deb [arch=amd64] http://dl.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-kacst fonts-freefont-ttf libxss1 \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install dumb-init
|
||||
# https://github.com/Yelp/dumb-init
|
||||
|
||||
Reference in New Issue
Block a user