aboutsummaryrefslogtreecommitdiffstats
path: root/build/bin
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2019-12-26 11:03:19 -0800
committerRitu Sood <ritu.sood@intel.com>2019-12-26 11:03:19 -0800
commit8e52332ac0090767e5290516c608f81e7525dbae (patch)
tree2ebf431948b7a186e1784c801ea7bc9b7d6dad3b /build/bin
parent52123c4bdcfad323f8fb57742400be993167ae2d (diff)
Update Dockerfile for nfn-agent
Change-Id: Id6091d5a439eff3cde1ac0eeb4cb4541206c955e Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Diffstat (limited to 'build/bin')
-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}"