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

add libgbm-dev to 8.0.0 base image #332

Closed
wants to merge 1 commit into from
Closed

add libgbm-dev to 8.0.0 base image #332

wants to merge 1 commit into from

Conversation

flotwig
Copy link
Contributor

@flotwig flotwig commented Jun 25, 2020

to fix https://circleci.com/gh/cypress-io/cypress/377914?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

on cypress-io/cypress#7791

@bahmutov since this is an update to an existing image, will it need to be manually uploaded to docker hub?

@flotwig flotwig requested a review from bahmutov June 25, 2020 16:18
@bahmutov
Copy link
Contributor

@flotwig is this for breaking change release v5? Because we won't support Node 8 I think, so we don't need this image

@flotwig
Copy link
Contributor Author

flotwig commented Jun 25, 2020

@bahmutov Yeah, but the PR for Node 10 isn't done yet, so I'm updating this image to unblock the Electron 9 upgrade PR. Figured it was the simplest way to decouple the work.

@bahmutov
Copy link
Contributor

ughh, I really, really, really would not want to update the existing image, since people have been using it for a while and can get new versions of a lib there. Very dangerous.

@flotwig
Copy link
Contributor Author

flotwig commented Jun 25, 2020

I can add the apt step in that specific CI job for now instead

@bahmutov
Copy link
Contributor

do the apt, it is less risky

@flotwig flotwig closed this Jun 25, 2020
flotwig added a commit to cypress-io/cypress that referenced this pull request Jun 25, 2020
flotwig added a commit to cypress-io/cypress that referenced this pull request Jun 25, 2020
flotwig added a commit to cypress-io/cypress that referenced this pull request Jun 25, 2020
brian-mann pushed a commit to cypress-io/cypress that referenced this pull request Jun 29, 2020
* chore(deps): electron@9.0.5

BREAKING CHANGE: libgbm is a requirement

* update node, xcode, docker images

* lockfile

* chore(types): tsify lib/gui/windows and spec

* fix Electron extension loading

global extension loading was deprecated in 9, now has to be per-session

* make windows fns stubbable

* update electron_spec

* tsify issue_173_spec

* use upstream foxdriver to fix FF >= 75

see benmalka/foxdriver#7

* update test

* for now, install libgbm-dev at ci time

see cypress-io/cypress-docker-images#332

* fix open mode

* remove devtools-ext dir
@brian-mann
Copy link
Member

Do we need to also update the node 10 image?

@flotwig
Copy link
Contributor Author

flotwig commented Jun 29, 2020

@brian-mann the Node 10 base image already has it, we should update the circle.yml in the cypress repo to use base/10.0.0 as part of the Node 10 upgrade

@brian-mann
Copy link
Member

@flotwig
Copy link
Contributor Author

flotwig commented Jun 29, 2020

@flotwig haven't we already done that here? #7650 (files)

yup looks right

@Tigge
Copy link

Tigge commented Aug 26, 2020

Did this actually need to bring in the -dev package of libgbm? Cypress isn't building anything against that library right? It is only a dependency of Chrome? Same goes for the libnotify packages I suppose.

@flotwig
Copy link
Contributor Author

flotwig commented Aug 26, 2020

Did this actually need to bring in the -dev package of libgbm? Cypress isn't building anything against that library right? It is only a dependency of Chrome? Same goes for the libnotify packages I suppose.

I think you may be right, just libgbm would have sufficed. Would be down to improve how we do this for future docker images.

@bahmutov
Copy link
Contributor

bahmutov commented Aug 26, 2020 via email

@Tigge
Copy link

Tigge commented Aug 26, 2020

I tried using libgdm1 and libnotify4 and it worked on our local image, shaving of 80 MiB or so.

@mjhenkes mjhenkes deleted the 8.0.0-libgbm branch April 14, 2023 19:07
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

4 participants