summaryrefslogtreecommitdiffstats
path: root/res/docker/instance_run.sh
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-04 15:37:05 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-04 15:37:05 +0800
commitdf054edf1951536181eeb7918ba9362471a19358 (patch)
treead4a25adb7a14e335eb45e7730581bc73d91c902 /res/docker/instance_run.sh
parent09c42913e057f4f0e5507e9c994827cd8af33f60 (diff)
Add vnfres docker build files
Add docker build files to build vfc gvnfm vnfres docker images. Change-Id: I8bc366de6d750bce627716c96f1feabb44a1c035 Issue-ID: VFC-255 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'res/docker/instance_run.sh')
-rw-r--r--res/docker/instance_run.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/res/docker/instance_run.sh b/res/docker/instance_run.sh
new file mode 100644
index 0000000..196edfd
--- /dev/null
+++ b/res/docker/instance_run.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd /service/vfc/gvnfm/vnfres/res
+chmod +x run.sh
+./run.sh
+
+while [ ! -f logs/runtime_res.log ]; do
+ sleep 1
+done
+tail -F logs/runtime_res.log \ No newline at end of file