Mercurial > public > ssdt-docker
diff testbench-node/docker-entrypoint.sh @ 77:0f366721a499
add dockerfiles for testbench grid
author | smith@nwoca.org |
---|---|
date | Sat, 26 Mar 2016 15:34:28 +0100 |
parents | |
children | b8373a99ad4d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testbench-node/docker-entrypoint.sh Sat Mar 26 15:34:28 2016 +0100 @@ -0,0 +1,15 @@ +#!/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 +