-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
729 additions
and
926 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker | ||
# | ||
# can't use bullseye because it doesn't have libappindicator (unless installed manually) | ||
FROM node:20.10.0-buster-slim | ||
FROM node:20.11-buster-slim | ||
|
||
WORKDIR /usr/app | ||
|
||
|
@@ -46,7 +46,7 @@ RUN apt-get update && apt-get install -y \ | |
fonts-wqy-zenhei \ | ||
fonts-noto-color-emoji | ||
|
||
RUN npm install npm@10.2.5 -g \ | ||
RUN npm install npm@10.4.0 -g \ | ||
&& apt-get install -y wget gnupg ca-certificates procps dumb-init \ | ||
# We install Chrome to get all the OS level dependencies, but Chrome itself | ||
# is not actually used as it's packaged in the node puppeteer library. | ||
|
@@ -63,6 +63,6 @@ RUN npm install [email protected] -g \ | |
# && wget --quiet https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /usr/sbin/wait-for-it.sh \ | ||
# && chmod +x /usr/sbin/wait-for-it.sh \ | ||
# Install Puppeteer under /node_modules so it's available system-wide | ||
&& npm install -g puppeteer@21.6.1 --unsafe-perm=true | ||
&& npm install -g puppeteer@22.2.0 --unsafe-perm=true | ||
# be sure that the version of puppeteer matches the version of google-chrome-stable, otherwise possible high CPU | ||
ENTRYPOINT ["/usr/bin/dumb-init", "--"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.