Skip to content

Commit

Permalink
feat/puppeteer-2.0.0 (#16)
Browse files Browse the repository at this point in the history
feat/puppeteer-2.0.0
  • Loading branch information
Emethium authored Jan 9, 2020
2 parents 9844360 + d4b7a1c commit c194187
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:13.2.0-alpine

# Installs the latest alpine Chromium (78) package
# Installs the latest alpine Chromium (79) 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 && \
apk add --no-cache \
libstdc++@edge \
chromium@edge=~78.0.3904.108 \
chromium@edge=~79.0.3945.88 \
nss@edge \
freetype@edge \
freetype-dev@edge \
Expand All @@ -17,4 +17,4 @@ RUN apk update && apk upgrade && \
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

# Puppeteer v1.20.0 works with Chromium 78.
RUN yarn add puppeteer@1.20.0
RUN yarn add puppeteer@2.0.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ A minimal Node Alpine + Puppeteer base Docker image for your scrapping needs and

## Support

It currently uses Puppeteer version `1.20.0` and Chromium version `78.0.3904.108` since the second is the [latest Chromium package supported by Alpine](https://pkgs.alpinelinux.org/package/edge/community/x86_64/chromium) as this README writing.
It currently uses Puppeteer version `2.0.0` and Chromium version `79.0.3945.88` since the second is the [latest Chromium package supported by Alpine](https://pkgs.alpinelinux.org/package/edge/community/x86_64/chromium) as this README writing.

Updates as new Chromium packages rolls out for Alpine =)

0 comments on commit c194187

Please sign in to comment.