From 9ae64f237c2a3cc12113970d0ffe32bac35992f1 Mon Sep 17 00:00:00 2001 From: Paul Shibanov Date: Thu, 26 Apr 2018 17:37:10 +0200 Subject: [PATCH] docs(troubleshooting): newest Chromium package supported on Alpine (#2453) --- docs/troubleshooting.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 9b4ccc89..e01da3f0 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 63, which was corresponding to [Puppeteer v0.11.0](https://github.com/GoogleChrome/puppeteer/releases/tag/v0.11.0). +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). Example Dockerfile: ```Dockerfile FROM node:9-alpine -# Installs latest Chromium (63) package. +# Installs latest Chromium (64) 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.11.0 works with Chromium 63. -RUN yarn add puppeteer@0.11.0 +# Puppeteer v0.13.0 works with Chromium 64. +RUN yarn add puppeteer@0.13.0 # Add user so we don't need --no-sandbox. RUN addgroup -S pptruser && adduser -S -g pptruser pptruser \