view testbench-node/docker-entrypoint.sh @ 240:84c830c42d55

flow: Merged <release> 'v2.0.0' to <develop> ('default').
author smith@nwoca.org
date Wed, 10 Jan 2018 01:42:43 +0000
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