docs: bump recommended version for Alpine Docker (#7563)
The current documentation for running with an Alpine-based Docker image recommends using Chromium 89 / Puppeteer 6.0.0. Chromium 92 is now supported by Puppeteer 10.0.0; this commit bumps the recommended versions.
This commit is contained in:
parent
a21b7376e7
commit
32cb9e93d6
@ -339,14 +339,14 @@ how to run this Dockerfile from a webserver running on App Engine Flex (Node).
|
||||
|
||||
### Running on Alpine
|
||||
|
||||
The [newest Chromium package](https://pkgs.alpinelinux.org/package/edge/community/x86_64/chromium) supported on Alpine is 89, which corresponds to [Puppeteer v6.0.0](https://github.com/puppeteer/puppeteer/releases/tag/v6.0.0).
|
||||
The [newest Chromium package](https://pkgs.alpinelinux.org/package/edge/community/x86_64/chromium) supported on Alpine is 92, which corresponds to [Puppeteer v10.0.0](https://github.com/puppeteer/puppeteer/releases/tag/v10.0.0).
|
||||
|
||||
Example Dockerfile:
|
||||
|
||||
```Dockerfile
|
||||
FROM alpine
|
||||
|
||||
# Installs latest Chromium (89) package.
|
||||
# Installs latest Chromium (92) package.
|
||||
RUN apk add --no-cache \
|
||||
chromium \
|
||||
nss \
|
||||
@ -363,8 +363,8 @@ RUN apk add --no-cache \
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
|
||||
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
||||
|
||||
# Puppeteer v6.0.0 works with Chromium 89.
|
||||
RUN yarn add puppeteer@6.0.0
|
||||
# Puppeteer v10.0.0 works with Chromium 92.
|
||||
RUN yarn add puppeteer@10.0.0
|
||||
|
||||
# Add user so we don't need --no-sandbox.
|
||||
RUN addgroup -S pptruser && adduser -S -g pptruser pptruser \
|
||||
|
Loading…
Reference in New Issue
Block a user