yamaszone / phantomjs

Minimal PhantomJS Docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI

PhantomJS Docker Container

Minimal PhantomJS Docker container using official Node base.

Prerequisites

  1. Docker installed in your environment

User Guide

  • Copy the shell script phantomjs from project root to /usr/local/bin or /opt/bin (CoreOS)
    • phantomjs above uses yamaszone/phantomjs:latest as the default image. If you need specific CLI version, see available tags.

Developer Guide

  • Project root contains a convenient run script to help performing typical tasks for developer workflow (e.g. build image, setup test framework to test image, run tests, etc.)
$ ./run help
Usage:
         cba | configure-bats-assert    : Configure bats-assert library (first-time only).
         stf | setup-test-framework     : Setup test framework (first-time only).
         build                          : Build image with the given tag (default=latest).
         tests                          : Run tests.
         help                           : Show this help.
  • The project is configured to run tests via CircleCI when any new changes are pushed to master

About

Minimal PhantomJS Docker container

License:MIT License


Languages

Language:Shell 100.0%