-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: build better-sqlite3 #27968
fix: build better-sqlite3 #27968
Conversation
Co-authored-by: Adam Stone-Lord <[email protected]>
Co-authored-by: Adam Stone-Lord <[email protected]>
Co-authored-by: Adam Stone-Lord <[email protected]>
This reverts commit b1383d4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
From your comments I understood that this is intended to be a temporary measure only. That would fit with the following constraints: The Docker image centos:7 appears to be deprecated. According to https://hub.docker.com/_/centos CentOS 7 has a limited remaining 8 month lifetime until June 30, 2024 (see https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/). Strangely CentOS is not listed under https://docs.cypress.io/guides/getting-started/installing-cypress#Operating-System, which only refers to the following as being supported by Cypress
|
|
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Closes #27902
Closes #27891
Additional details
Build
better-sqlite3
on centos 7 to ensure a wider range of compatibility in the binary. The approach here is to use thecentos7-builder.Dockerfile
as the image to use when building and then mirror the build commands used forbetter-sqlite3
. In the wrong run, we could host this Dockerfile in docker hub and potentially have some additional optimizations, but in the spirit of getting folks fixed faster, this approach is good for now.Steps to test
You can test this by running the binaries attached to the branches on various OS's.
How has the user experience changed?
n/a
PR Tasks
cypress-documentation
?type definitions
?