view testbench-node/docker-entrypoint.sh @ 185:21eebe9c1a8c

flow: Merged <hotfix> 'v1.2.2' to <develop> ('default').
author smith@nwoca.org
date Wed, 20 Sep 2017 16:19:19 +0100
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