Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use Chrome as headless browser #931

Conversation

hotzevzl
Copy link
Member

The default used by Puppeteer would not allow to render webgl stuff in
headless mode, so for the time being we're switching to Node/Ubuntu
images and installing Chrome from Google's APT sources.

https://vizzuality.atlassian.net/browse/MARXAN-1404

The default used by Puppeteer would not allow to render webgl stuff in
headless mode, so for the time being we're switching to Node/Ubuntu
images and installing Chrome from Google's APT sources.

@debt It may be preferrable to revert to Node/Alpine images, downloading
a Chrome build at Docker build stage and pointing Puppeteer to the
downloaded Chrome executable.
@vercel
Copy link

vercel bot commented Mar 25, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

marxan – ./app

🔍 Inspect: https://vercel.com/vizzuality1/marxan/2VLwnjgAyjghLD6Z1ogqdVQfSEJf
✅ Preview: In Progress

marxan-storybook – ./app

🔍 Inspect: https://vercel.com/vizzuality1/marxan-storybook/HwKidvgjh49w3MAGF9Hrwb1NkPd8
✅ Preview: https://marxan-storybook-git-infra-webshotmarxan-140-1fbda0-vizzuality1.vercel.app

@hotzevzl hotzevzl self-assigned this Mar 25, 2022
@hotzevzl hotzevzl merged commit f8ede34 into develop Mar 25, 2022
@hotzevzl hotzevzl deleted the infra/webshot/MARXAN-1404_use-google-chrome-as-headless-browser branch March 25, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant