Sign inSign up

romischart/node-8-firefox

By romischart

•Updated over 6 years ago

Fully dockerized latest stable firefox based on node:8-jessie

Image
0

10K+

romischart/node-8-firefox repository overview

⁠Node 8 docker image with latest stable firefox

Build Status

Fully dockerized latest stable firefox based on node:8-jessie

⁠Why

This project enables you to use a real firefox 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-8-firefox:latest

RUN yarn global add testcafe \
    && mkdir -p /usr/src/app/testcafe

WORKDIR /usr/src/app/testcafe

ENTRYPOINT [ "testcafe", "firefox:headless", "-s", "." ]

and now you need to build the custom image and run the tests with docker volume mounting:

docker build -t testcafe-firefox .

docker run -v /path/to/tests:/usr/src/app/testcafe testcafe-firefox:latest *.testcafe.js

Tag summary

Content type

Image

Digest

Size

284.3 MB

Last updated

over 6 years ago

docker pull romischart/node-8-firefox