summaryrefslogtreecommitdiffstats
path: root/build/entrypoint
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2020-05-05 21:22:59 -0700
committerEric Multanen <eric.w.multanen@intel.com>2020-06-10 10:08:10 -0700
commit6203e6a8309dcfa4b8f6b6cb0453d2b43dd8ab3f (patch)
tree43c67f4409d882f7e8ff2c18443ef757865bafb9 /build/entrypoint
parent82ec0fbda9ab2090fea542403221be853332e003 (diff)
Add Dockerfile for v2 Microservices
Dockerfile for building and running microservices. Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I95242d074b1ad1fa446727d849478b041e2f9829
Diffstat (limited to 'build/entrypoint')
-rwxr-xr-xbuild/entrypoint35
1 files changed, 35 insertions, 0 deletions
diff --git a/build/entrypoint b/build/entrypoint
new file mode 100755
index 00000000..bafb76e9
--- /dev/null
+++ b/build/entrypoint
@@ -0,0 +1,35 @@
+#!/bin/sh -e
+
+cmd=${1:-""}
+
+case ${cmd} in
+ "mco")
+ ./orchestrator
+ ;;
+
+ "ncm")
+ ./ncm
+ ;;
+
+ "dcm")
+ ./dcm
+ ;;
+
+ "rsync")
+ ./rsync
+ ;;
+
+ "ovnaction")
+ ./ovnaction
+ ;;
+
+ "clm")
+ ./clm
+ ;;
+
+ *)
+ echo "invalid command ${cmd}"
+ sleep infinity
+
+esac
+