inventis/karma-firefox

By inventis

Updated about 5 years ago

Firefox headless container for karma with git, nodejs and npm preinstalled

Image

7.7K

KARMA Firefox HEADLESS container

Firefox Container for use with karma has node8 and npm installed example bitbucket pipeline usage:

- step:
    caches:
        - node
    image: inventis/node-firefox
    name: Testing in Firefox
    script:
        - npm install
        - ./node_modules/.bin/karma start --single-run --browsers=FirefoxHeadless --reporters junit

be sure to have karma junit reporter installed and this config added to your karma.config.js for pipelines to pickup the output:

    junitReporter: {
        outputDir: './test-reports/'
    }

Docker Pull Command

docker pull inventis/karma-firefox