Skip to content

Commit

Permalink
chore: switch to unpinned chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
KenLSM committed Apr 29, 2024
1 parent dc59e97 commit 606a983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.development
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN apk update && apk upgrade && \
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions
# Compatible chromium versions can be found here https://pkgs.alpinelinux.org/packages?name=chromium&branch=v3.18&repo=&arch=&maintainer=
# Pinning to an older version of node:alpine3.18 to avoid regular breakage due to version chromium being bumped on current alpine of 3.19
RUN apk add chromium=119.0.6045.159-r0 --repository https://dl-cdn.alpinelinux.org/alpine/v3.18/community
RUN apk add chromium --repository https://dl-cdn.alpinelinux.org/alpine/v3.18/community

# Tell Puppeteer to skip installing Chrome. We'll be using the installed package.
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ RUN apk add --no-cache \
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions
# Compatible chromium versions can be found here https://pkgs.alpinelinux.org/packages?name=chromium&branch=v3.18&repo=&arch=&maintainer=
# Pinning to an older version of node to avoid regular breakage due to version chromium being bumped on latest alpine
RUN apk add chromium=119.0.6045.159-r0 --repository https://dl-cdn.alpinelinux.org/alpine/v3.18/community
RUN apk add chromium --repository https://dl-cdn.alpinelinux.org/alpine/v3.18/community

# Tell Puppeteer to skip installing Chrome. We'll be using the installed package.
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
Expand Down

0 comments on commit 606a983

Please sign in to comment.