-
Notifications
You must be signed in to change notification settings - Fork 388
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
Create a cypress/alpine minimal image #110
Comments
+1. Its good to have a small image when we run tests in our CI. |
+1. Would love to see this happening! |
Has anybody tried to do this yet? If so, I'd be interested how far you got. |
Great idea. Is anyone working on it? |
This would be very nice since I am getting 1.6 GB images for pipeline and that is a lot. |
👍 for an Alpine image. The Debian image is large and unzipping Cypress alone takes minutes to complete. |
an currently our |
I would love a smaller image as well. I think the issue is that chrome electron does not support alpine. |
Would also like to see this happen - and willing to help. My use case is testing a web app with Firebase Emulators running in the background. For this purpose, I have an (Alpine based) firebase-ci-builder image that takes care of the emulators. Since I want to run Cypress tests in CI as well, am in a cross roads:
|
Hi everybody |
Hello, is there any update here? |
#597 introduced |
If one of your main new features is |
The large issue here is that chrome doesn't support alpine (not sure if firefox or edge does either). As mentioned above we do use I think it would be possible to make a node + cypress alpine image, but i haven't tried that combination. When making the cypress/factory docker image, i did try to go with alpine but as soon as i realized that chrome wasn't available, I went back to bullseye-slim in order to support as many browsers as possible. I'd be open to a contribution, think docker/factory-alpine, but the maintenance costs would have to be pretty low for us to continue to support it. |
Would this project be helpful? https://github.com/Zenika/alpine-chrome ? |
firefox seems to, which would be a start: https://pkgs.alpinelinux.org/package/edge/community/x86/firefox |
Could you please clarify if you feel that this request needs to stay open?
so that:
|
The original subject "Create a cypress/alpine minimal image" is not currently feasible. Images are already based on |
Hey @MikeMcC399, could you please explain a bit and clarify why it is currently "not feasible"? Are there any blockers?
|
|
Hi 👋
Thanks a lot for all these Docker images! I noticed the discussion around image size: #83 and was wondering whether there might be a chance to create a cypress Docker image based on node:alpine or node:slim?
In this way, we would have:
For my current use case, I'm building Cypress Docker images in my CI pipeline that are pulled onto an on-premise CentOS system. Unfortunately, the corporate VPN really slows things down, so pulling a 1GB image for 20+ deployments & tests each day takes too long :(
Knowing that Cypress needs a lot of dependencies like
libgtk2.0-0
etc., we probably need to see if all of that can be achieved easily on alpine!Before I do any work on this, it'd be great to know if anyone has looked into this already?
Thanks 🙏
The text was updated successfully, but these errors were encountered: