diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 5a0e44220b3..843818096ba 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -172,14 +172,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 64, which was corresponding to [Puppeteer v0.13.0](https://github.com/GoogleChrome/puppeteer/releases/tag/v0.13.0). +The [newest Chromium package](https://pkgs.alpinelinux.org/package/edge/community/x86_64/chromium) supported on Alpine is 68, which was corresponding to [Puppeteer v1.4.0](https://github.com/GoogleChrome/puppeteer/releases/tag/v1.4.0). Example Dockerfile: ```Dockerfile FROM node:9-alpine -# Installs latest Chromium (64) package. +# Installs latest Chromium (68) package. RUN apk update && apk upgrade && \ echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && \ echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \ @@ -192,8 +192,8 @@ RUN apk update && apk upgrade && \ # Tell Puppeteer to skip installing Chrome. We'll be using the installed package. ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true -# Puppeteer v0.13.0 works with Chromium 64. -RUN yarn add puppeteer@0.13.0 +# Puppeteer v1.4.0 works with Chromium 68. +RUN yarn add puppeteer@1.4.0 # Add user so we don't need --no-sandbox. RUN addgroup -S pptruser && adduser -S -g pptruser pptruser \