-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix local dev container installation of Puppeteer with amd64
We already jump through some hoops to install Chromium on arm using the PlayWright builds. On amd64, Puppeteer is supposed to install Chrome by default when you install the package, but this doesn't happen when we run `npm install` in the container run command for some reason. This updates the `Dockerfile` to manually install the same version of Puppeteer when we're not on arm to force the browser to be cached in `~/.cache/puppeteer/`. It's odd that this is required, but it's actually nice to have the browser included in the image regardless of architecture for consistency. Merges #149 LGTM given by: @KPreisner
- Loading branch information
Showing
1 changed file
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters