view testbench-node/docker-entrypoint.sh @ 203:ac52b5761b21

flow: Merged <release> 'v1.4.0' to <develop> ('default').
author Christopher Springer <springer@nwoca.org>
date Tue, 26 Sep 2017 15:33:59 +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