cypress-docker-images icon indicating copy to clipboard operation
cypress-docker-images copied to clipboard

Docker Image with Node v14.15.5

Open shehi opened this issue 3 years ago • 1 comments

Continuing from my comment https://github.com/cypress-io/cypress-docker-images/issues/449#issuecomment-798904136

It'd be great to have cypress/included official image based on latest Node LTS (v14) image. Any timeframe on that?

Previously I had my custom Node v14.15 image, with Cypress in it (I actually copy-pasted official Dockerfiles into that, nothing there was new or different from what we have in this repo). I have this script in my package.json file: image and it was working quite OK. But 2 days ago I decided to switch to official Cypress image, and I picked: image and since then, that ---inspect=... parameter stopped working. I keep getting EPIPE errors: image

I didn't change anything in my code, so my suspicion is it is Node v12 related. As you might've guessed, my app is a NextJs one.

And for some remote reason if this isn't Node v12 related, then the only thing I'd suspect is my container having browsers now, and somehow those browsers are capturing port 9229. I really really don't think this is the case, coz browsers don't run any services or listen to any ports just by themselves.

And yes: when --inspect=... is removed, everything works. And yes, IP address listed there is correct.

shehi avatar Mar 14 '21 19:03 shehi

I could also use an image using v14, I'm starting to have some dependencies that are available only on a few v12 versions while allowing all v14 versions.

Vadorequest avatar Mar 31 '21 12:03 Vadorequest

Node 14 images have been released, or you can specify which versions you want by using the cypress/factory docker image

https://github.com/cypress-io/cypress-docker-images/tree/master/factory

mjhenkes avatar Jan 26 '23 18:01 mjhenkes