From 26bdbc160f8e910ff681dc7e476f9d64d9f68a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Landur=C3=A9?= Date: Thu, 26 Sep 2019 12:20:35 +0200 Subject: [PATCH] docs(troubleshooting): update Alpine chromium versions Chromium 77 is now the default version installed in Alpine. I've updated also the puppeteer version to match the Chromium version --- docs/troubleshooting.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 7019762bc71f2..77364c1b6c653 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -316,14 +316,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 76, which corresponds to [Puppeteer v1.17.0](https://github.com/GoogleChrome/puppeteer/releases/tag/v1.17.0). +The [newest Chromium package](https://pkgs.alpinelinux.org/package/edge/community/x86_64/chromium) supported on Alpine is 77, which corresponds to [Puppeteer v1.19.0](https://github.com/GoogleChrome/puppeteer/releases/tag/v1.19.0). Example Dockerfile: ```Dockerfile FROM alpine:edge -# Installs latest Chromium (76) package. +# Installs latest Chromium (77) package. RUN apk add --no-cache \ chromium \ nss \ @@ -340,8 +340,8 @@ RUN apk add --no-cache \ # Tell Puppeteer to skip installing Chrome. We'll be using the installed package. ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true -# Puppeteer v1.17.0 works with Chromium 76. -RUN yarn add puppeteer@1.17.0 +# Puppeteer v1.19.0 works with Chromium 77. +RUN yarn add puppeteer@1.19.0 # Add user so we don't need --no-sandbox. RUN addgroup -S pptruser && adduser -S -g pptruser pptruser \