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

fix(docker): added extra environment variable to lhci-client Dockerfile for puppeteer executable #916

Merged

Conversation

Eliasvdb
Copy link
Contributor

A while ago I submitted #736 to fix issues with using puppeteer in the lhci-client docker image.

In the meantime, puppeteer seems broken again in the latest docker image version. After some investigation, this is most likely a problem occurring after the puppeteer upgrade from v13 to v19. In more recent versions, puppeteer keeps a cache of browser versions it downloads. Since in this image we skip the chromium download for puppeteer, because a chrome version is already included for the ligthouse tests, we should specify where our chrome version is located. This was quick fixable by passing the env var in the docker conatiner run command, but should in my opinion be defined in the Dockerfile.

@google-cla
Copy link

google-cla bot commented May 26, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

…le to specify the location of the installed chrome, since puppeteer's chromium download is skipped
@Eliasvdb Eliasvdb force-pushed the lhci-client-docker-chrome-executable branch from a03fa9f to d2dcfa8 Compare May 26, 2023 14:45
Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

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.

None yet

2 participants