diff testbench-node-17/docker-entrypoint.sh @ 517:957e787ad842

USASR-5154 added j17 node directory
author belknapSSDT <zach.belknap@mcoecn.org>
date Tue, 03 Oct 2023 09:09:55 -0400
parents testbench-node/docker-entrypoint.sh@731a1492c8a0
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testbench-node-17/docker-entrypoint.sh	Tue Oct 03 09:09:55 2023 -0400
@@ -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=chrome"
+   ;;
+
+  *)
+  exec "$@"
+  ;;
+
+esac
+