docs(troubleshooting.md): Pin Alpine Chromium version (#4359)

- Pins Alpine Chromium version to prevent updates from causing issues

When using these instructions today, I found that the Chromium version in the latest Alpine edge was 73, which caused errors with Puppeteer.

Pinning to the latest 72 version in Alpine registry resolved the issue, and should prevent others from running into it in the future.
This commit is contained in:
James Ross 2019-05-10 01:41:55 +01:00 committed by Andrey Lushnikov
parent 1516e0df21
commit a0b54f041f

View File

@ -296,7 +296,7 @@ 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/community >> /etc/apk/repositories && \
echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \ echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \
apk add --no-cache \ apk add --no-cache \
chromium@edge \ chromium@edge=72.0.3626.121-r0 \
nss@edge \ nss@edge \
freetype@edge \ freetype@edge \
harfbuzz@edge \ harfbuzz@edge \