Fully dockerized latest stable chrome based on node:10-jessie
9.4K
Fully dockerized latest stable chrome based on node:10-jessie
This project enables you to use a real chrome for example for e2e testing (with tools like testcafe) directly in CI.
It could be used as base for your custom image.
Global testcafe example:
FROM romischart/node-10-chrome:latest
RUN yarn global add testcafe \
&& mkdir -p /usr/src/app/testcafe
WORKDIR /usr/src/app/testcafe
ENTRYPOINT [ "testcafe", "chrome:headless", "-s", "." ]
and now you need to build the custom image and run the tests with docker volume mounting:
docker build -t testcafe-chrome .
docker run -v /path/to/tests:/usr/src/app/testcafe testcafe-chrome:latest *.testcafe.js
Content type
Image
Digest
Size
256.6 MB
Last updated
over 6 years ago
docker pull romischart/node-10-chrome