aboutsummaryrefslogtreecommitdiffstats
path: root/build/bin/entrypoint
diff options
context:
space:
mode:
Diffstat (limited to 'build/bin/entrypoint')
-rwxr-xr-xbuild/bin/entrypoint7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/bin/entrypoint b/build/bin/entrypoint
index af0d88a..77084a3 100755
--- a/build/bin/entrypoint
+++ b/build/bin/entrypoint
@@ -1,6 +1,5 @@
#!/bin/sh -e
-
cmd=${1:-""}
case ${cmd} in
@@ -20,6 +19,12 @@ case ${cmd} in
exec ${OPERATOR} $@
;;
+ "agent")
+ shift
+ exec ${AGENT} $@
+ ;;
+
+
*)
echo "invalid command ${cmd}"