cypress-docker-images
cypress-docker-images copied to clipboard
Docker Image with Node v14.15.5
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 Dockerfile
s into that, nothing there was new or different from what we have in this repo). I have this script in my package.json
file:
and it was working quite OK. But 2 days ago I decided to switch to official Cypress image, and I picked:
and since then, that
---inspect=...
parameter stopped working. I keep getting EPIPE errors:
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.
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.
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