view testbench-node/docker-entrypoint.sh @ 84:36d4c33e43a3 feature/djs-DEP-12-docker

flow: Created branch 'feature/djs-DEP-12-docker'.
author Dave Smith <smith@nwoca.org>
date Wed, 21 Sep 2016 19:00:11 -0400
parents 0f366721a499
children b8373a99ad4d
line wrap: on
line source
#!/bin/bash
set -e

case "$1" in

   node)
     java -jar testbench-standalone.jar -role node -hub http://$HUB_HOST:4444/grid/register -browser "browserName=phantomjs"
   ;;

  *)
  exec "$@"
  ;;

esac